Skip to content

Conversation

hsanjuan
Copy link
Contributor

The user says that 25ms helps but not fully resolves the issue of disconnects on spikes. So let's bump this a bit more..

The user says that 25ms helps but not fully resolves the issue of disconnects
on spikes. So let's bump this a bit more..
@hsanjuan hsanjuan self-assigned this Jun 29, 2025
@hsanjuan hsanjuan requested a review from a team as a code owner June 29, 2025 08:46
Copy link

codecov bot commented Jun 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 61.58%. Comparing base (e55a6bc) to head (d6729e6).
Report is 1 commits behind head on main.

Impacted file tree graph

@@            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     
Files with missing lines Coverage Δ
...client/internal/messagequeue/donthavetimeoutmgr.go 94.11% <100.00%> (ø)

... and 10 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Dreamacro
Copy link
Contributor

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.

Copy link
Contributor

@gammazero gammazero left a 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.

@hsanjuan
Copy link
Contributor Author

hsanjuan commented Jul 2, 2025

@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.

@lidel

This comment was marked as resolved.

@lidel lidel mentioned this pull request Jul 7, 2025
46 tasks
Copy link
Member

@lidel lidel left a 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

@lidel lidel merged commit 6cdfd96 into main Jul 7, 2025
27 of 46 checks passed
@hsanjuan hsanjuan deleted the donthave-mintimeout-50ms branch July 8, 2025 07:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants