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

Pattern for callbacks? #155

Closed
laco opened this issue Nov 23, 2012 · 1 comment
Closed

Pattern for callbacks? #155

laco opened this issue Nov 23, 2012 · 1 comment

Comments

@laco
Copy link

laco commented Nov 23, 2012

Is there a "best practice" pattern for implementing callbacks for jobs in rq?

@nvie
Copy link
Collaborator

nvie commented Nov 23, 2012

This depends fully on your situation. In a web server context, the notion of a callback is a bit weird, since the view (i.e. the request-response pair) that originally enqueued some work has long past by the time the work is finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants