Skip to content

Commit

Permalink
Merge pull request #3871 from sorki/patch-1
Browse files Browse the repository at this point in the history
cli: fix passing of concurrency arg for celery
  • Loading branch information
amercader committed Oct 17, 2017
2 parents b5b8bf0 + c360d3e commit 4150394
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ckan/lib/cli.py
Expand Up @@ -1076,7 +1076,7 @@ def run_(self):
from ckan.lib.celery_app import celery
celery_args = []
if len(self.args) == 2 and self.args[1] == 'concurrency':
celery_args.append['--concurrency=1']
celery_args.append('--concurrency=1')
celery.worker_main(argv=['celeryd', '--loglevel=INFO'] + celery_args)

def view(self):
Expand Down

0 comments on commit 4150394

Please sign in to comment.