Commit Graph

9 Commits

Author SHA1 Message Date
Josh Baker 6330ea23c9 added error check 2016-07-28 19:42:35 -07:00
Josh Baker ff93c0d8e9 new shrink algorithm. better error checks. 2016-07-28 19:38:51 -07:00
Josh Baker 624feadea5 fixed govet golint typos 2016-07-24 10:20:55 -07:00
Josh Baker 270260e081 change Config to ReadConfig and better cleanup code 2016-07-24 10:14:37 -07:00
Josh Baker d121dd81dd optional no-persist with :memory: path. benchmarks 2016-07-23 10:20:38 -07:00
Josh Baker 4622c7d04b added database config options
- SyncPolicy - Adjusts hoe often the data is synced to disk.
This can beNever, EverySecond, or Always. The default is EverySecond.

- AutoShrink - Controls how often the append-only log can grow before
it gets resized. The default is 5x the number of items in the database.
2016-07-20 10:47:41 -07:00
Josh Baker d3df98bcf9 added TTL function 2016-07-20 09:40:09 -07:00
Anthony Olurin d16ddf8b06 go_vet, mispell and golint 2016-07-20 08:57:29 -04:00
Josh Baker 7875d65f2a initial commit 2016-07-19 15:15:00 -07:00