kubo/core
Brian Tiger Chow f26388e0e5 fix(core) tear-down leveldb
@jbenet @whyrusleeping @mappum

If we permit initialization in `ipfs daemon`, then we must ensure that
the node instantiated in `ipfs init` (to create the welcome file) shuts
down and releases resources.

Kept running into "resource temporarily unavailable". Discovered that it
was our cousins Jeff and Sanjay over at LevelDB Ave.

go-datastore doesn't expose Close() so I extended the TsDs interface and
submitted a patch.

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>

Signed-off-by: Brian Tiger Chow <brian.holderchow@gmail.com>
2014-11-17 00:44:18 -08:00
..
commands some small cleanup of logging 2014-11-01 16:07:56 -07:00
commands2 mount: if already mounted, unmount before new attempt 2014-11-16 02:22:53 -08:00
.gitignore ignore testdb 2014-07-05 15:04:04 -07:00
core_test.go feat(peer) add Type (Unspecified, Local, Remote) 2014-11-16 07:00:58 -08:00
core.go fix(core) tear-down leveldb 2014-11-17 00:44:18 -08:00
datastore.go fix(core) tear-down leveldb 2014-11-17 00:44:18 -08:00
mock.go convert DAGService to an interface 2014-10-25 22:15:19 -04:00