-
Notifications
You must be signed in to change notification settings - Fork 687
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
Avoid stalling LOD syncs during immediate enqueues and discovery hooks #11489
Avoid stalling LOD syncs during immediate enqueues and discovery hooks #11489
Conversation
Build Artifacts
|
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.
simple and clear, thanks!
Hi @bjester, AndroidLogs2.zip Server logs: Logs of a LOD installed on Ubuntu VM that was syncing correctly throughout the entire time: |
The last successful run of the sync queue processing job in Android 1 seemed to coincide with the startup of the app:
|
Thanks @pcenov. I've pushed more changes based off what we saw in your Android logs. Could you test again? |
Attaching the logs, just in case you're curious, but approving asap anyways! Android13-user-a-logs.zip |
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.
LoD restarts the syncing after the disconnecting and connecting again! 🎉
Merge away! 💯 👏🏽
Summary
datetime.timedelta
can be falsy if the time delta is 0, so this ensures we reschedule the LOD syncing tasks when they should be scheduled immediately (in 0 seconds)References
Resolves #11487
Reviewer guidance
Testing checklist
PR process
Reviewer checklist
yarn
andpip
)