mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
rate_limit: Rename key_fragment() method to key().
This commit is contained in:
committed by
Tim Abbott
parent
9c9f8100e7
commit
2c6b1fd575
@@ -444,7 +444,7 @@ class RateLimitedRealmMirror(RateLimitedObject):
|
||||
self.realm = realm
|
||||
super().__init__()
|
||||
|
||||
def key_fragment(self) -> str:
|
||||
def key(self) -> str:
|
||||
return "emailmirror:{}:{}".format(type(self.realm), self.realm.id)
|
||||
|
||||
def rules(self) -> List[Tuple[int, int]]:
|
||||
|
||||
Reference in New Issue
Block a user