-
Notifications
You must be signed in to change notification settings - Fork 131
bitswap/client: Set DontHaveTimeout MinTimeout to 50ms #965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The user says that 25ms helps but not fully resolves the issue of disconnects on spikes. So let's bump this a bit more..
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## main #965 +/- ##
==========================================
+ Coverage 61.54% 61.58% +0.04%
==========================================
Files 254 254
Lines 31400 31400
==========================================
+ Hits 19324 19338 +14
+ Misses 10499 10489 -10
+ Partials 1577 1573 -4
... and 10 files with indirect coverage changes 🚀 New features to boost your workflow:
|
I am also interested in the setting of this minimum value. Currently, I plan to set it to 200ms for the pure intranet. I want to know where the discussion related to "The user says that 25ms helps" is taking place. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. Just wish there was a way to make this less of a magic number.
@Dreamacro it comes from ipfs/go-ds-crdt#285 Note that in the "pure internet" I suspect that if a latency is x25 the average probably there is a problem. This affects localhost, where latency is 2ms and a slow disk-read can cause a 25x spike easily. |
This comment was marked as resolved.
This comment was marked as resolved.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated changelog in 2bb3941, feel free to merge as soon CI finishes and is green
The user says that 25ms helps but not fully resolves the issue of disconnects on spikes. So let's bump this a bit more..