fixes #1484, thanks @abastardi
This commit is contained in:
@@ -477,7 +477,8 @@ def executor(queue, task, out):
|
||||
# Get controller-specific subdirectory if task.app is of
|
||||
# form 'app/controller'
|
||||
(a, c, f) = parse_path_info(task.app)
|
||||
_env = env(a=a, c=c, import_models=True)
|
||||
_env = env(a=a, c=c, import_models=True,
|
||||
extra_request={'is_scheduler': True})
|
||||
logging.getLogger().setLevel(level)
|
||||
f = task.function
|
||||
functions = current._scheduler.tasks
|
||||
|
||||
Reference in New Issue
Block a user