hscontrol/state: make NodeStore batch configuration tunable (#2886)
This commit is contained in:
parent
9c4c017eac
commit
db293e0698
11 changed files with 267 additions and 140 deletions
|
|
@ -19,7 +19,7 @@ func TestEndpointStorageInNodeStore(t *testing.T) {
|
|||
node2 := createTestNode(2, 1, "test-user", "node2")
|
||||
|
||||
// Create NodeStore with allow-all peers function
|
||||
store := NewNodeStore(nil, allowAllPeersFunc)
|
||||
store := NewNodeStore(nil, allowAllPeersFunc, TestBatchSize, TestBatchTimeout)
|
||||
|
||||
store.Start()
|
||||
defer store.Stop()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue