improve coalescing

This commit is contained in:
vyzo
2020-11-09 13:35:42 +02:00
parent 378d7a1ad9
commit 185653f85a
4 changed files with 64 additions and 14 deletions
+3 -1
View File
@@ -54,7 +54,9 @@ import (
func init() {
chain.BootstrapPeerThreshold = 1
messagepool.HeadChangeCoalesceDelay = time.Microsecond
messagepool.HeadChangeCoalesceMinDelay = time.Microsecond
messagepool.HeadChangeCoalesceMaxDelay = 2 * time.Microsecond
messagepool.HeadChangeCoalesceMergeInterval = 100 * time.Nanosecond
}
func CreateTestStorageNode(ctx context.Context, t *testing.T, waddr address.Address, act address.Address, pk crypto.PrivKey, tnd test.TestNode, mn mocknet.Mocknet, opts node.Option) test.TestStorageNode {