mirror of
https://github.com/valitydev/redash.git
synced 2024-11-07 17:38:54 +00:00
Fix: use correct queue name for scheduled queries
This commit is contained in:
parent
b1e1a32f37
commit
4c28d11259
@ -68,9 +68,9 @@ class QueryTask(object):
|
||||
pipe.multi()
|
||||
|
||||
if scheduled:
|
||||
queue_name = data_source.queue_name
|
||||
else:
|
||||
queue_name = data_source.scheduled_queue_name
|
||||
else:
|
||||
queue_name = data_source.queue_name
|
||||
|
||||
result = execute_query.apply_async(args=(query, data_source.id), queue=queue_name)
|
||||
job = cls(async_result=result)
|
||||
|
Loading…
Reference in New Issue
Block a user