-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add background flush to SQLite key/value store (#360)
* Add flush interval to SqliteKeyValueStoreOptions * Use background database flush if configured Updates `SqliteKeyValueStore` to allow a background flush interval to be specified (opt-in; default behaviour is to continue to write to the database immediately). When a flush interval is specified, write and delete operations are put into a dictionary indexed by data store key (value = the bytes to write for that key; null value = delete the key). A background task performs a flush at the interval specified. * Add typed singleton KV store registration When registering an `IKeyValueStore` service of type `T` with the dependency injection container, two singleton services are now registered: - `T` - `IKeyValueStore` (which is registered using a service factory that gets the `T` service) * Bump package references * Remove use of deprecated property `SchemaGeneratorConfiguration.PropertyNamingMethod` has been deprecated in favour of the new `PropertyNameResolver` property in a recent JsonSchema.Net.Generation package update
- Loading branch information
1 parent
8945e5a
commit 198ec4a
Showing
7 changed files
with
411 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/DataCore.Adapter.KeyValueStore.Sqlite/PublicAPI.Unshipped.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.