Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

SRMember: Stop writing to the main cache pool.

All done!
  • Loading branch information...
commit 814ee55ecf431001c6a59a0bfd7dec78185e1373 1 parent 09a402e
@spladug spladug authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 r2/r2/models/
6 r2/r2/models/
@@ -1635,11 +1635,7 @@ def get_links(self, sort, time):
class SRMember(Relation(Subreddit, Account)):
_defaults = dict(encoded_permissions=None)
_permission_class = None
- _cache = TransitionalCache(
- original_cache=g.cache,
- replacement_cache=g.srmembercache,
- read_original=True,
- )
+ _cache = g.srmembercache
def has_permission(self, perm):
"""Returns whether this member has explicitly been granted a permission.
Please sign in to comment.
Something went wrong with that request. Please try again.