forked from solana-labs/solana
-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
quic tpu: lower stream timeout from 10s to 2s
Don't wait 10s for one piece of a transaction to come before timing out. Lower the timeout to 2s, after which we assume a stream is dead. 2s is enough round trips to account for non catastrophic packet loss. If packet loss is causing >2s stream latency, the connection is hosed and the best thing we can do is save server resources for peers with better connectivity.
- Loading branch information
1 parent
a302c43
commit ce3cc60
Showing
2 changed files
with
16 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters