Skip to content

spread out debouce times per-connection#636

Merged
icewind1991 merged 2 commits intomainfrom
debouce-smear
Aug 7, 2025
Merged

spread out debouce times per-connection#636
icewind1991 merged 2 commits intomainfrom
debouce-smear

Conversation

@icewind1991
Copy link
Member

Multiply the calculated debounce time for each connection by a factor of 0.5-1.5 to spread out the load from multiple connections receiving notifications for the same files.

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Copy link
Member

@st3iny st3iny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good and it makes sense to have some random jitter.

Copy link
Member

@CarlSchwan CarlSchwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks good :)

@icewind1991 icewind1991 merged commit e936bf3 into main Aug 7, 2025
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants