quoting myself
ation of the Scheduler *AND the definition of tasks*
itions *should be available on models* so they'd be available to the
app and will be executed without issues
So.
- One scheduler per app: ok!
- tasks definition on scheduler instantiation: as long as the task function
Ok If I understand you correctly,
I should only instantiate one Scheduler in the App and the Tasks should be
defined in the models of the plugins. ( I was instantiating a Scheduler()
in each plugin)
If I define taskA() in a model called plugin_A.py and taskB() in a model
plugin_B.py then I tr
This is definitely weird.
Unless you're plugins that carry themselves the instantiation of the
Scheduler AND the definition of tasks: there should be only ONE scheduler
instance (because it's thought as a singleton) and tasks definitions should
be available on models so they'd be available
3 matches
Mail list logo