mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-09-21 16:33:22 +00:00
Accessories:编码不对连注释里有中文都不行[CI SKIP]
This commit is contained in:
parent
3ff1a8d865
commit
f1684323f2
@ -66,7 +66,7 @@ def easy_rejudge(submissions, map_table, user_id, contest_id=None):
|
|||||||
except Exception:
|
except Exception:
|
||||||
print "error!"
|
print "error!"
|
||||||
continue
|
continue
|
||||||
# 增加redis 中判题队列长度的计数器
|
|
||||||
r = redis.Redis(host=redis_config["host"], port=redis_config["port"], db=redis_config["db"])
|
r = redis.Redis(host=redis_config["host"], port=redis_config["port"], db=redis_config["db"])
|
||||||
r.incr("judge_queue_length")
|
r.incr("judge_queue_length")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user