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
Maintain Tasks in Postgres #1777
Comments
@rkorytkowski @paynejd this is deployed on Dev. Please test pepfar scripts and any other manual testing on dev this week. |
In the response in verbose mode (for a completed task), After unserializing In
|
Finally, code to grab the task ID from a newly queued import no longer works in
Is it possible to still support this without changing much under the hood? This will impact the PEPFAR integration scripts. |
…dded try catch in indexing
…r submitted" This reverts commit 73eb895.
…bmitted queue and not actual queue
@paynejd Serialization is fixed and its deployed on QA and Staging |
I tested serialization on dev and it's working well! Anything else to do on this ticket before we close it out? |
@paynejd Lets keep this ticket until its clear of staging. |
The queue-specific query returns zero results:
This means that the integration script is not able to detect if an import is already underway, so it is possible to have 2 conflicting IMAP imports overwriting each other or to start to build an IMAP export using incomplete content. |
@paynejd This is fixed on Staging now. |
Round 2 of tests in staging worked flawlessly! Only remaining step: Test out the subscription module in staging. |
…ame user and import queue
…tore result as str and not json
…ny task older than 7 days
@rkorytkowski @paynejd Added a job to expire (remove) tasks from postgres when its older than a week. |
Context:
Redis is a broker for Celery. The states are maintained in Redis and OCL API queries Flower for to get tasks running/pending/successful/failed. This is currently maintained for 72 hours or next deployment.
Tasks:
The text was updated successfully, but these errors were encountered: