完善contest权限控制
This commit is contained in:
1 parent
b694000ab9
commit
728373a5ff
19 files changed
+219
-162
No files matched your search
+1
-1
@@ -192,7 +192,7 @@ CELERY_ACCEPT_CONTENT = ["json"]
|
||||
CELERY_TASK_SERIALIZER = "json"
|
||||
|
||||
# 用于限制用户恶意提交大量代码
|
||||
TOKEN_BUCKET_DEFAULT_CAPACITY = 50
|
||||
TOKEN_BUCKET_DEFAULT_CAPACITY = 20
|
||||
|
||||
# 单位:每分钟
|
||||
TOKEN_BUCKET_FILL_RATE = 2
|
||||
Reference in new issue
Block a user