Open comradefuzz opened 8 years ago
true, only one scheduler worker should run at same time
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.
I have
workers = 5
in[Default]
section of my fresque.ini file. When I runfresque 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.