fix: 授权过期自动刷新授权树

This commit is contained in:
xinwen 2021-07-14 14:58:40 +08:00 committed by Jiangjie.Bai
parent 601a48071f
commit 2e190c9ea9

View File

@ -15,7 +15,7 @@ logger = get_logger(__file__)
@register_as_period_task(interval=settings.PERM_EXPIRED_CHECK_PERIODIC)
@shared_task(queue='celery_check_asset_perm_expired')
@shared_task()
@atomic()
def check_asset_permission_expired():
"""