mirror of https://github.com/jumpserver/jumpserver
feat(celery): 设置 node_tree celery work 为 2
parent
2209a2c8d2
commit
31b6c3b679
2
jms
2
jms
|
@ -222,7 +222,7 @@ def get_start_celery_default_kwargs():
|
|||
|
||||
def get_start_celery_node_tree_kwargs():
|
||||
print("\n- Start Celery as Distributed Task Queue: NodeTree")
|
||||
return get_start_worker_kwargs('node_tree', 10)
|
||||
return get_start_worker_kwargs('node_tree', 2)
|
||||
|
||||
|
||||
def get_start_celery_check_asset_perm_expired_kwargs():
|
||||
|
|
Loading…
Reference in New Issue