forked from GithubBackups/healthchecks
Fixing a too low rate limit I had used while debugging.
This commit is contained in:
parent
253f554591
commit
dd9fbc9e8c
@ -640,7 +640,7 @@ class TokenBucket(models.Model):
|
|||||||
value = "invite-%d" % user.id
|
value = "invite-%d" % user.id
|
||||||
|
|
||||||
# 20 invites per day
|
# 20 invites per day
|
||||||
return TokenBucket.authorize(value, 2, 3600 * 24)
|
return TokenBucket.authorize(value, 20, 3600 * 24)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def authorize_login_password(email):
|
def authorize_login_password(email):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user