Skip to content

Commit 31238ec

Browse files
update time ticker
1 parent a91eb55 commit 31238ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

p2p/kademlia/store/sqlite/meta_worker.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ import (
2020

2121
var (
2222
commitLastAccessedInterval = 60 * time.Second
23-
migrationExecutionTicker = 1 * time.Minute
23+
migrationExecutionTicker = 12 * time.Hour
2424
migrationMetaDB = "data001-migration-meta.sqlite3"
2525
accessUpdateBufferSize = 100000
2626
commitInsertsInterval = 90 * time.Second
2727
metaSyncBatchSize = 10000
2828
lowSpaceThresholdGB = 50 // in GB
29-
minKeysToMigrate = 5
29+
minKeysToMigrate = 100
3030

3131
updateChannel chan UpdateMessage
3232
insertChannel chan UpdateMessage

0 commit comments

Comments
 (0)