Repository navigation
Conversation
| _type_ = c_byte | ||
|
|
||
|
|
||
| class ForksSet(Structure): |
There was a problem hiding this comment.
|
If anyone has a better name for this functionality other than |
|
Also, if someone with access to a windows machine could give this a try I'd be super grateful. Steps to try on windows:
|
|
What do you think of |
|
Would you advise using a fork function when using apscheduler to for periodic jobs?
I bit late, but for what is worth, it does work on windows |
|
@CaselIT I think not. I'm maintaining periodiq, and periodiq scheduler must be a single process. Side processes purpose is for all your worker processes (e.g. prometheus exporter). |
|
Well, a fork function creates a new process for each one, so technically it is a single process as far as the scheduler is concerned. Of course you cannot control it when starting it that was, so for a scheduler that has a cli it maybe not the best way, but |
|
@CaselIT the functionality is intended for side-loading code next to workers, so in that sense I think it's appropriate. You just need to be careful if you run multiple sets of workers. |
|
Thanks for the reply. Yes, of course in case of multiple workers only one of them should start the scheduler or multiple jobs could be triggered. |
No description provided.