No need to pass connection string to workers

This commit is contained in:
Arik Fraimovich 2014-03-19 13:52:19 +02:00
parent f186c8cb5f
commit 515eb28d4d
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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