update
This commit is contained in:
@@ -1 +1 @@
|
|||||||
VERSION="4.0.3"
|
VERSION="4.0.4"
|
||||||
@@ -37,7 +37,7 @@ class ModuleSetting(PluginModuleBase):
|
|||||||
'notify.yaml': '', #직접 사용하지 않으나 저장 편의상.
|
'notify.yaml': '', #직접 사용하지 않으나 저장 편의상.
|
||||||
'command_text': '',
|
'command_text': '',
|
||||||
'celery_start_by_web': 'False', #웹 실행시 celery 실행
|
'celery_start_by_web': 'False', #웹 실행시 celery 실행
|
||||||
'celery_start_command': "celery -A flaskfarm.main.celery worker --workdir={F.config['path_working']} --loglevel=info --pool=gevent --concurrency=2 --config_filepath={F.config['config_filepath']} --running_type=native",
|
'celery_start_command': "celery -A flaskfarm.main.celery worker --loglevel=info --pool=gevent --concurrency=2 --config_filepath={F.config['config_filepath']} --running_type=native",
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -205,8 +205,8 @@ class ModuleSetting(PluginModuleBase):
|
|||||||
command = command.split(' ')
|
command = command.split(' ')
|
||||||
if mode == 'foreground':
|
if mode == 'foreground':
|
||||||
cmd = [
|
cmd = [
|
||||||
['msg', f'명령 : {command}'],
|
['msg', f'명령 : {' '.join(command)}'],
|
||||||
command.split(' '),
|
command,
|
||||||
]
|
]
|
||||||
ToolModalCommand.start("Celery 실행", cmd)
|
ToolModalCommand.start("Celery 실행", cmd)
|
||||||
elif mode == 'background':
|
elif mode == 'background':
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
{{ macros.setting_input_textarea('celery_start_command', 'celery 실행 명령', desc=['',
|
{{ macros.setting_input_textarea('celery_start_command', 'celery 실행 명령', desc=['',
|
||||||
|
|
||||||
'예: celery -A flaskfarm.main.celery worker --workdir={F.config["path_working"]} --loglevel=info --pool=gevent --concurrency=2 --config_filepath={F.config["config_filepath"]} --running_type=native',
|
'예: celery -A flaskfarm.main.celery worker --loglevel=info --pool=gevent --concurrency=2 --config_filepath={F.config["config_filepath"]} --running_type=native',
|
||||||
'',
|
'',
|
||||||
'패키지로 실행시 : -A flaskfarm.main.celery',
|
'패키지로 실행시 : -A flaskfarm.main.celery',
|
||||||
'Git 소스로 실행시 : -A main.celery', '',
|
'Git 소스로 실행시 : -A main.celery', '',
|
||||||
|
|||||||
Reference in New Issue
Block a user