Skip to content

Instantly share code, notes, and snippets.

@rofr
Created November 29, 2012 21:57
Show Gist options
  • Save rofr/4172177 to your computer and use it in GitHub Desktop.
Save rofr/4172177 to your computer and use it in GitHub Desktop.
Async journaling with LiveDB
// With Asyncronous journaling enabled, commands are queued and written
// to the journal by a background thread. This increases query and command throughput
// but there is risk of losing commands in the case of a system failure
var config = new EngineConfiguration();
config.AsyncronousJournaling = true;
var engine = Engine.LoadOrCreate<MyModel>(config);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment