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

How to use the at argument in queue? #39

Closed
satrio-yudhoatmojo opened this issue Dec 4, 2021 · 1 comment
Closed

How to use the at argument in queue? #39

satrio-yudhoatmojo opened this issue Dec 4, 2021 · 1 comment

Comments

@satrio-yudhoatmojo
Copy link

Hi, there's an at argument in the queue function and I believe it is used for setting the time the producer is sent to the server, but how do I use this? What is its value type?

from Client.py:
def queue( self, task: str, args: typing.Iterable = None, queue: str = "default", priority: int = 5, jid: str = None, custom=None, reserve_for=None, at=None, retry=5, backtrace=0, )

@cdrx
Copy link
Owner

cdrx commented Dec 6, 2021

It should be a string, in the format noted here:

https://github.com/contribsys/faktory/wiki/The-Job-Payload#options

@cdrx cdrx closed this as completed Dec 6, 2021
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