Skip to content

Tune sync timeouts#702

Merged
volovyks merged 6 commits intodevelopfrom
serhii/adjust-sync-timeout
Mar 19, 2026
Merged

Tune sync timeouts#702
volovyks merged 6 commits intodevelopfrom
serhii/adjust-sync-timeout

Conversation

@volovyks
Copy link
Copy Markdown
Contributor

Sync is failing on dev, because the default timeout on the client level is ~1s
I've also increased the waiting time in other places to make sure nodes have enough time to process all the artifacts

jakmeier
jakmeier previously approved these changes Mar 12, 2026
@volovyks
Copy link
Copy Markdown
Contributor Author

cases::mpc::test_sign_contention_5_nodes issue is back...

@volovyks
Copy link
Copy Markdown
Contributor Author

I've checked our metrics, sync call takes ~15 seconds, and it is O(N), so this time can change. I will look into ways to make it more efficient.

@volovyks
Copy link
Copy Markdown
Contributor Author

Ok, I think that long /sync was caused by an outdated storage version. Now it is ~1s with a large stockpile of Ts and Ps. But I still think we can increase the limits, since /sync process is rare.

ChaoticTempest
ChaoticTempest previously approved these changes Mar 18, 2026
/// This test generates triples and presignatures on-the-fly (slower but more realistic).
/// Uses 5_nodes.json fixture for pre-shared keys only.
#[test(tokio::test(flavor = "multi_thread"))]
#[ignore]
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Turning this test off temporarily to be able to merge PRs and fix dev

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yeah probably a good idea, it really slows us down right now

@volovyks volovyks merged commit 70b75da into develop Mar 19, 2026
3 of 4 checks passed
@volovyks volovyks deleted the serhii/adjust-sync-timeout branch March 19, 2026 09:33
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