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

[Task] Ensure session data is saved before any backend process is invoked #192

Open
mradamcox opened this issue May 12, 2024 · 0 comments
Open
Labels
task A general "to-do" ticket for tracking work

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 task A general "to-do" ticket for tracking work label May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task A general "to-do" ticket for tracking work
Projects
None yet
Development

No branches or pull requests

1 participant