Skip to content

Commit

Permalink
Set OrigoDb to completely be in memory, so that no directory is created.
Browse files Browse the repository at this point in the history
  • Loading branch information
Achim Ismaili committed May 21, 2018
1 parent 934d617 commit cdf08ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FeatureAdmin/Repository/FeatureRepository.cs
Expand Up @@ -25,8 +25,8 @@ public class FeatureRepository : IFeatureRepository
var config = new EngineConfiguration();
config.PersistenceMode = PersistenceMode.ManualSnapshots;
// see https://github.com/DevrexLabs/OrigoDB/issues/24
// config.SetCommandStoreFactory(cfg => new OrigoDB.Core.Test.InMemoryCommandStore(cfg));
// config.SetSnapshotStoreFactory(cfg => new OrigoDB.Core.Test.InMemorySnapshotStore(cfg));
config.SetCommandStoreFactory(cfg => new OrigoDB.Core.Test.InMemoryCommandStore(cfg));
config.SetSnapshotStoreFactory(cfg => new OrigoDB.Core.Test.InMemorySnapshotStore(cfg));
store = Db.For<OrigoDb.FeatureModel>(config);

this.eventAggregator = eventAggregator;
Expand Down

0 comments on commit cdf08ee

Please sign in to comment.