Skip to content

Commit 133a672

Browse files
Michael Vandebergabitmore
Michael Vandeberg
authored andcommitted
Increase the active ignored request timeout to 6 seconds
Cherry-picked from steemit/steem#1663
1 parent 826c8ec commit 133a672

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libraries/net/node.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -864,7 +864,9 @@ namespace graphene { namespace net { namespace detail {
864864
// 1 second seems reasonable. When we get closer to our eventual target of 1 second
865865
// blocks, this will need to be re-evaluated (i.e., can we set the timeout to 500ms
866866
// and still handle normal network & processing delays without excessive disconnects)
867-
fc::microseconds active_ignored_request_timeout = fc::seconds(1);
867+
868+
// Increased to 6 in #1660 due to heavy load. May need to adjust further
869+
fc::microseconds active_ignored_request_timeout = fc::seconds(6);
868870

869871
fc::time_point active_disconnect_threshold = fc::time_point::now() - fc::seconds(active_disconnect_timeout);
870872
fc::time_point active_send_keepalive_threshold = fc::time_point::now() - fc::seconds(active_send_keepalive_timeout);

0 commit comments

Comments
 (0)