mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 00:09:14 +00:00
12 lines
250 B
Python
12 lines
250 B
Python
from celery import shared_task
|
|
|
|
from common.utils import get_logger
|
|
|
|
logger = get_logger(__file__)
|
|
|
|
|
|
@shared_task
|
|
def refresh_org_cache_task(*fields):
|
|
from .caches import OrgResourceStatisticsCache
|
|
OrgResourceStatisticsCache.refresh(*fields)
|