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

Can queues run job serial ? #131

Open
YelCode opened this issue May 2, 2024 · 1 comment
Open

Can queues run job serial ? #131

YelCode opened this issue May 2, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@YelCode
Copy link

YelCode commented May 2, 2024

Is your feature request related to a problem? Please describe.
I have a job to draw ai,it's cost most resource and it can't support concurrent.
So I need a job queue,only one job success or faild,then run next job

Describe the solution you'd like
So I need a job queue,only one job success or faild,then run next job

Describe alternatives you've considered
queues can config one type to make job FIFO

Additional context
please help

@YelCode YelCode added the enhancement New feature or request label May 2, 2024
@0xTim
Copy link
Member

0xTim commented May 2, 2024

To run one at a time you can set the worker count to 1

To run as a FIFO queue is not something that queues supports. The easiest way to simulate that is to start the next job when the current one ends

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

No branches or pull requests

2 participants