mirror of
https://github.com/sot-tech/mochi.git
synced 2026-07-08 09:38:11 -07:00
storage: add PeerLifetime to test config
This commit is contained in:
@@ -11,6 +11,7 @@ func createNew() s.PeerStore {
|
||||
ps, err := New(Config{
|
||||
ShardCount: 1024,
|
||||
GarbageCollectionInterval: 10 * time.Minute,
|
||||
PeerLifetime: 30 * time.Minute,
|
||||
PreferredIPv4SubnetMaskBitsSet: 31,
|
||||
PreferredIPv6SubnetMaskBitsSet: 64,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user