mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-02-12 13:01:51 +00:00
Slightly smaller cache for active
This commit is contained in:
parent
53faa084c2
commit
d4e42555f2
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ def is_rtp(user):
|
|||
return rtp_group.check_member(ldap.get_member(user, uid=True))
|
||||
|
||||
|
||||
@lru_cache(maxsize=256)
|
||||
@lru_cache(maxsize=128)
|
||||
def is_active(user):
|
||||
ldap = connect_ldap()
|
||||
active_group = ldap.get_group('active')
|
||||
|
|
Loading…
Reference in a new issue