Exemplo n.º 1
0
 def run_(self):
     os.environ['CKAN_CONFIG'] = os.path.abspath(self.options.config)
     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.worker_main(argv=['celeryd', '--loglevel=INFO'] + celery_args)
Exemplo n.º 2
0
Arquivo: cli.py Projeto: abulte/ckan
 def run_(self):
     os.environ['CKAN_CONFIG'] = os.path.abspath(self.options.config)
     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.worker_main(argv=['celeryd', '--loglevel=INFO'] + celery_args)
Exemplo n.º 3
0
Arquivo: cli.py Projeto: arkka/ckan
 def run_(self):
     os.environ['CKAN_CONFIG'] = os.path.abspath(self.options.config)
     from ckan.lib.celery_app import celery
     celery.worker_main(argv=['celeryd', '--loglevel=INFO'])