-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Inaccuracy in result_ttl description #217
Comments
You're not the only one to have run into this issue. So doing this wouldn't work: q.enqueue(func=foo, result_ttl=86400) While this would: q.enqueue(func=foo, args=(,), result_ttl=86400) In hindsight, I think we should have kept |
Thanks for your comment, @selwin . Yes, I noticed that Unfortunately, I don't quite get your point about having a
If so, as for me, it makes quite a lot of sense. It could look like subtasks in celery, and it should be very useful. It doesn't break any backward compatibility, it shouldn't be complicated to implement and it looks natural in the current set of API. Is that what you meant? |
Actually, the sources are available publicly—but they're well-hidden on the But yes, your remark is correct. The example from the docs are indeed broken and need to be fixed, which I just did. Thanks. |
Here is defined that
enqueue
accepts and handlesresult_ttl
option, but actually this argument should be passed toenqueue_call
.Unfortunately, it looks like the documentation sources are not available publicly, so I cannot send a pull request.
The text was updated successfully, but these errors were encountered: