Skip to content
This repository has been archived by the owner on Mar 23, 2023. It is now read-only.

What's the point of running same scheduler workers count as in default queue? #62

Open
comradefuzz opened this issue Jun 23, 2016 · 2 comments

Comments

@comradefuzz
Copy link

I have workers = 5 in [Default] section of my fresque.ini file. When I run fresque startScheduler it creates 5 worker instances. This happens because of direct assignment of $count variable in Fresque class.
What is the point of such behavior? Why should I run same count of scheduling queue workers as in default queue? It doesn't make sense to me.

@wa0x6e
Copy link
Owner

wa0x6e commented Jun 23, 2016

true, only one scheduler worker should run at same time

@comradefuzz
Copy link
Author

comradefuzz commented Jun 23, 2016

BTW I have a simple workaround on this issue. If only default queue needed you can simply set [Default] -> workers = 1 then set [Queues] -> default[workers] = 5. Using fresque load instead of start you can run desired amount of workers. Scheduler will start a single instance though.

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

No branches or pull requests

2 participants