-
Notifications
You must be signed in to change notification settings - Fork 41
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
Create a MetadataSyncJob #461
Comments
Note: There could be jobs in the queue for downloading and decrypting that are not finished when the next sync happens on the 5-minute mark or when the user clicks the refresh button. This is okay because jobs will only be added for new submissions or replies. |
The following issue will be affected or resolved when metadata sync is moved to the queue: #462 |
Right now a user can click the refresh link when the queue is paused (while the "retry" error message is showing). Once refresh/metadata sync is moved to the queue, a pause should either disable the refresh icon or resume the queue. |
Per #489 (comment) this also will help us resolve other issues, so we've agreed to prioritize it in the 10/23-11/6 sprint period, and I've added it to the alpha milestone. |
I will pick up this one. |
since for a given document A its |
Description
Move api calls to sync the client with the server into and ApiJob and ensure that it is called precisely every five minutes or immediately when the user clicks refresh.
Background
The client syncs with the server every five minutes by calling sync_api, which makes the following api calls:
Whenever
sync_api
returns successfully, the client then downloads and decrypts any new message or reply.The text was updated successfully, but these errors were encountered: