mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-06-23 21:47:27 +00:00
perf: asset tree
This commit is contained in:
parent
5d31200368
commit
dddff03336
@ -96,7 +96,8 @@ class UserPermTreeRefreshUtil(_UserPermTreeCacheMixin):
|
||||
logger.info(f'Need to refresh orgs: {to_refresh_orgs}')
|
||||
return to_refresh_orgs
|
||||
|
||||
def _mark_user_orgs_refresh_finished(self, org_ids):
|
||||
def _mark_user_orgs_refresh_finished(self, orgs):
|
||||
org_ids = [str(org.id) for org in orgs]
|
||||
self.client.sadd(self.cache_key_user, *org_ids)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user