mirror of https://github.com/jumpserver/jumpserver
perf(Node): 修改节点资产数量自检程序执行时间
parent
18d005b860
commit
4ca5728f89
|
@ -7,7 +7,7 @@ from common.utils import get_logger
|
||||||
logger = get_logger(__file__)
|
logger = get_logger(__file__)
|
||||||
|
|
||||||
|
|
||||||
@register_as_period_task(crontab='* 2 * * *')
|
@register_as_period_task(crontab='0 2 * * *')
|
||||||
@shared_task(queue='celery_heavy_tasks')
|
@shared_task(queue='celery_heavy_tasks')
|
||||||
def check_node_assets_amount_celery_task():
|
def check_node_assets_amount_celery_task():
|
||||||
check_node_assets_amount()
|
check_node_assets_amount()
|
||||||
|
|
Loading…
Reference in New Issue