mirror of
https://github.com/valitydev/redash.git
synced 2024-11-06 09:05:17 +00:00
No need to pass connection string to workers
This commit is contained in:
parent
f186c8cb5f
commit
515eb28d4d
@ -33,7 +33,7 @@ def runworkers():
|
||||
|
||||
logging.info("Cleaning old workers: %s", old_workers)
|
||||
|
||||
data_manager.start_workers(settings.WORKERS_COUNT, settings.CONNECTION_ADAPTER, settings.CONNECTION_STRING)
|
||||
data_manager.start_workers(settings.WORKERS_COUNT)
|
||||
logging.info("Workers started.")
|
||||
|
||||
while True:
|
||||
|
@ -140,7 +140,7 @@ class Manager(object):
|
||||
|
||||
return data
|
||||
|
||||
def start_workers(self, workers_count, connection_type, connection_string):
|
||||
def start_workers(self, workers_count):
|
||||
if self.workers:
|
||||
return self.workers
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user