Explain sync option

This commit is contained in:
martinsumner 2017-02-26 16:29:55 +00:00
parent d6f4b31632
commit ff31ca2d86
2 changed files with 2 additions and 2 deletions

View file

@ -94,7 +94,7 @@ Unit and current tests in leveled should run with rebar3. Leveled has been test
{ok, Bookie} = leveled_bookie:book_start(RootPath, LedgerCacheSize, JournalSize, SyncStrategy)
```
This will start a new Bookie. It will start and look for existing data files, under the RootPath, and start empty if none exist. A LedgerCacheSize of 2000, a JournlaSize of 500000000 (500MB) and a SyncStrategy of recovr should work OK.
This will start a new Bookie. It will start and look for existing data files, under the RootPath, and start empty if none exist. A LedgerCacheSize of 2000, a JournalSize of 500000000 (500MB) and a SyncStrategy of recovr should work OK.
The book_start method should respond once startup is complete. The leveled_bookie module includes the full API for external use of the store.