Skip to content
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

Set session status to queued before submitting to celery #192

Open
mradamcox opened this issue May 12, 2024 · 0 comments
Open

Set session status to queued before submitting to celery #192

mradamcox opened this issue May 12, 2024 · 0 comments
Labels
type: maintenance Underlying updates, upgrades, and general upkeep
Milestone

Comments

@mradamcox
Copy link
Collaborator

Describe the task

The session "run" methods, which are passed to celery for backend processing, need to be independent of any session.data save operations: session.data should be saved before the task is handed off to celery. Additionally, a session status "queued" should be introduced so that cleanup tasks won't remove sessions that have been submitted to a broken celery deploy.

This is because celery task completion relies on rabbitmq so if the latter is misconfigured the task submissions could be lost.

(Some of this may already be in place, but this ticket is to check in and solidify them.)

@mradamcox mradamcox added the type: maintenance Underlying updates, upgrades, and general upkeep label May 12, 2024
@mradamcox mradamcox changed the title [Task] Ensure session data is saved before any backend process is invoked Set session status to queued before submitting to celery Aug 22, 2024
@mradamcox mradamcox added this to the Next Tasks milestone Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: maintenance Underlying updates, upgrades, and general upkeep
Projects
None yet
Development

No branches or pull requests

1 participant