-
Notifications
You must be signed in to change notification settings - Fork 286
fix: endless burst of requests on uncached mailboxes #11632
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: greta <gretadoci@gmail.com>
please test |
What caused the endless loop before? |
Check the |
Seems intentional?
|
to keep trying, yes probably. To keep trying forever, i doubt its intentional. Do you think this approach is not the solution we want? |
The idea is to wait until the initial syncing is done. This should happen eventually. |
Do you have an alternative for retrying until it is no longer locked? Retry should definitely stop for any other error |
Signed-off-by: greta <gretadoci@gmail.com>
Signed-off-by: greta <gretadoci@gmail.com>
fixes #11024
Another approach would be if we handle initialization in sync() instead. Smth like:
if (init) { await wait(5000) await this.loadEnvelopes() }