perf: 优化组织刷新资源

pull/12592/head
ibuler 2024-01-25 14:40:11 +08:00 committed by 老广
parent 00256f86df
commit ef8db68db1
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ class OrgResourceStatisticsRefreshUtil:
if not cache_field_name:
return
org = getattr(instance, 'org', None)
cache_field_name = tuple(cache_field_name)
cls.refresh_org_fields.delay(org_fields=((org, cache_field_name),))