Commit 2aede42 Michael Vandeberg
committed
1 parent f5df8a3 commit 2aede42 Copy full SHA for 2aede42
File tree 1 file changed +3
-7
lines changed
1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -1361,17 +1361,13 @@ namespace graphene { namespace net { namespace detail {
1361
1361
uint32_t active_disconnect_timeout = 10 * _recent_block_interval_in_seconds;
1362
1362
uint32_t active_send_keepalive_timeout = active_disconnect_timeout / 2 ;
1363
1363
1364
- // set the ignored request time out to 1 second. When we request a block
1364
+ // set the ignored request time out to 6 second. When we request a block
1365
1365
// or transaction from a peer, this timeout determines how long we wait for them
1366
1366
// to reply before we give up and ask another peer for the item.
1367
1367
// Ideally this should be significantly shorter than the block interval, because
1368
1368
// we'd like to realize the block isn't coming and fetch it from a different
1369
- // peer before the next block comes in. At the current target of 3 second blocks,
1370
- // 1 second seems reasonable. When we get closer to our eventual target of 1 second
1371
- // blocks, this will need to be re-evaluated (i.e., can we set the timeout to 500ms
1372
- // and still handle normal network & processing delays without excessive disconnects)
1373
-
1374
- // Increased to 6 in #1660 due to heavy load. May need to adjust further
1369
+ // peer before the next block comes in.
1370
+ // Increased to 6 from 1 in #1660 due to heavy load. May need to adjust further
1375
1371
fc::microseconds active_ignored_request_timeout = fc::seconds (6 );
1376
1372
1377
1373
fc::time_point active_disconnect_threshold = fc::time_point::now () - fc::seconds (active_disconnect_timeout);
You can’t perform that action at this time.
0 commit comments