perf(celery-task): 优化检查节点资产数量的 Celery 任务 (#5052)

Co-authored-by: xinwen <coderWen@126.com>
This commit is contained in:
fit2bot
2020-11-20 20:23:09 +08:00
committed by Jiangjie.Bai
parent a4667f3312
commit f26b7a470a
3 changed files with 7 additions and 7 deletions

View File

@@ -8,6 +8,6 @@ logger = get_logger(__file__)
@register_as_period_task(crontab='0 2 * * *')
@shared_task(queue='node_assets_amount')
@shared_task(queue='celery_heavy_tasks')
def check_node_assets_amount_celery_task():
check_node_assets_amount()