File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pkg/coordinator/tasks/tx_pool_throughput_analysis Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ func (t *Task) Execute(ctx context.Context) error {
181181 return nil
182182 }
183183
184- // Add a timeout of 10 seconds for reading transaction messages
184+ // Add a timeout of 180 seconds for reading transaction messages
185185 readChan := make (chan struct {
186186 txs * eth.TransactionsPacket
187187 err error
@@ -203,8 +203,8 @@ func (t *Task) Execute(ctx context.Context) error {
203203 return nil
204204 }
205205 gotTx += len (* result .txs )
206- case <- time .After (10 * time .Second ):
207- t .logger .Errorf ("Timeout after 10 seconds while reading transaction messages" )
206+ case <- time .After (180 * time .Second ):
207+ t .logger .Errorf ("Timeout after 180 seconds while reading transaction messages" )
208208 t .ctx .SetResult (types .TaskResultFailure )
209209 return nil
210210 }
You can’t perform that action at this time.
0 commit comments