封榜后管理员可以通过force_update查看最新rankings

This commit is contained in:
zema1 committed 2017-12-03 15:36:31 +08:00
1 parent 0281555b39
commit 27a9b1144b
5 files changed
+18 -15

No files matched your search

+1 -1
View File
@@ -197,7 +197,7 @@ CELERY_ACCEPT_CONTENT = ["json"]
CELERY_TASK_SERIALIZER = "json"
# 用于限制用户恶意提交大量代码
TOKEN_BUCKET_DEFAULT_CAPACITY = 20
TOKEN_BUCKET_DEFAULT_CAPACITY = 10
# 单位:每分钟
TOKEN_BUCKET_FILL_RATE = 2