对盘题系统针对新测试服务器进行调整,该分支将不会并入主分支[CI SKIP]

This commit is contained in:
lsxwxs
2015-09-03 00:41:36 +08:00
parent 6267b4d295
commit fc7f4ae3b7
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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",