graph/db: rename KVStoreOptions to StoreOptions

We'll re-use this options struct for our SQLStore too. So here we rename
it to be more generic.
This commit is contained in:
Elle Mouton committed 2025-05-23 11:01:17 +02:00
1 parent 14ca086c72
commit a0a20bd0d0
3 files changed
+16 -16

No files matched your search

+1 -1
View File
@@ -1026,7 +1026,7 @@ func (d *DefaultDatabaseBuilder) BuildDatabase(
"instances")
}
graphDBOptions := []graphdb.KVStoreOptionModifier{
graphDBOptions := []graphdb.StoreOptionModifier{
graphdb.WithRejectCacheSize(cfg.Caches.RejectCacheSize),
graphdb.WithChannelCacheSize(cfg.Caches.ChannelCacheSize),
graphdb.WithBatchCommitInterval(cfg.DB.BatchCommitInterval),