mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-17 01:13:45 +00:00
swarm/network/simulations/discovery: set sim timeout to 5 mins
This commit is contained in:
parent
7abb7648fa
commit
a8b626745d
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ func discoverySimulation(nodes, conns int, adapter adapters.NodeAdapter) (*simul
|
|||
|
||||
// 64 nodes ~ 1min
|
||||
// 128 nodes ~
|
||||
timeout := 600 * time.Second
|
||||
timeout := 300 * time.Second
|
||||
ctx, cancel := context.WithTimeout(context.Background(), timeout)
|
||||
defer cancel()
|
||||
result := simulations.NewSimulation(net).Run(ctx, &simulations.Step{
|
||||
|
|
|
|||
Loading…
Reference in a new issue