对盘题系统针对新测试服务器进行调整,该分支将不会并入主分支[CI SKIP]
This commit is contained in:
@@ -170,4 +170,4 @@ class JudgeClient(object):
|
|||||||
# http://stackoverflow.com/questions/25382455/python-notimplementederror-pool-objects-cannot-be-passed-between-processes
|
# http://stackoverflow.com/questions/25382455/python-notimplementederror-pool-objects-cannot-be-passed-between-processes
|
||||||
self_dict = self.__dict__.copy()
|
self_dict = self.__dict__.copy()
|
||||||
del self_dict['_pool']
|
del self_dict['_pool']
|
||||||
return self_dict
|
return self_dict
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ judger_workspace = "/var/judger/"
|
|||||||
|
|
||||||
# 这个是在docker 中访问数据库 ip 不一定和web服务器还有celery的一样
|
# 这个是在docker 中访问数据库 ip 不一定和web服务器还有celery的一样
|
||||||
submission_db = {
|
submission_db = {
|
||||||
"host": "192.168.42.1",
|
"host": "10.172.22.50",#"192.168.42.1",
|
||||||
"port": 3306,
|
"port": 3306,
|
||||||
"db": "oj_submission",
|
"db": "oj_submission",
|
||||||
"user": "root",
|
"user": "root",
|
||||||
|
|||||||
Reference in New Issue
Block a user