hscontrol/state: make NodeStore batch configuration tunable (#2886)

This commit is contained in:
Kristoffer Dalby 2025-11-28 16:38:29 +01:00 committed by GitHub
parent 9c4c017eac
commit db293e0698
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 267 additions and 140 deletions

View file

@ -0,0 +1,12 @@
package state
import (
"time"
)
// Test configuration for NodeStore batching.
// These values are optimized for test speed rather than production use.
const (
TestBatchSize = 5
TestBatchTimeout = 5 * time.Millisecond
)