mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-29 05:18:48 -05:00
hscontrol/state: make NodeStore batch configuration tunable (#2886)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user