Commit c5d34fc9 authored by gary rong's avatar gary rong Committed by Péter Szilágyi

les, light: reduce les testing stress (#17867)

parent 53634f1e
...@@ -87,7 +87,7 @@ const ( ...@@ -87,7 +87,7 @@ const (
testDistBufLimit = 10000000 testDistBufLimit = 10000000
testDistMaxCost = 1000000 testDistMaxCost = 1000000
testDistPeerCount = 5 testDistPeerCount = 5
testDistReqCount = 50000 testDistReqCount = 5000
testDistMaxResendCount = 3 testDistMaxResendCount = 3
) )
......
...@@ -84,23 +84,23 @@ var ( ...@@ -84,23 +84,23 @@ var (
} }
// TestServerIndexerConfig wraps a set of configs as a test indexer config for server side. // TestServerIndexerConfig wraps a set of configs as a test indexer config for server side.
TestServerIndexerConfig = &IndexerConfig{ TestServerIndexerConfig = &IndexerConfig{
ChtSize: 256, ChtSize: 64,
PairChtSize: 2048, PairChtSize: 512,
ChtConfirms: 16, ChtConfirms: 4,
BloomSize: 256, BloomSize: 64,
BloomConfirms: 16, BloomConfirms: 4,
BloomTrieSize: 2048, BloomTrieSize: 512,
BloomTrieConfirms: 16, BloomTrieConfirms: 4,
} }
// TestClientIndexerConfig wraps a set of configs as a test indexer config for client side. // TestClientIndexerConfig wraps a set of configs as a test indexer config for client side.
TestClientIndexerConfig = &IndexerConfig{ TestClientIndexerConfig = &IndexerConfig{
ChtSize: 2048, ChtSize: 512,
PairChtSize: 256, PairChtSize: 64,
ChtConfirms: 128, ChtConfirms: 32,
BloomSize: 2048, BloomSize: 512,
BloomConfirms: 128, BloomConfirms: 32,
BloomTrieSize: 2048, BloomTrieSize: 512,
BloomTrieConfirms: 128, BloomTrieConfirms: 32,
} }
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment