From fc7f4ae3b7a82cfef584bb8bc7e6c2abf947eb9c Mon Sep 17 00:00:00 2001 From: lsxwxs Date: Thu, 3 Sep 2015 00:41:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E7=9B=98=E9=A2=98=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E9=92=88=E5=AF=B9=E6=96=B0=E6=B5=8B=E8=AF=95=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E8=BF=9B=E8=A1=8C=E8=B0=83=E6=95=B4,=E8=AF=A5?= =?UTF-8?q?=E5=88=86=E6=94=AF=E5=B0=86=E4=B8=8D=E4=BC=9A=E5=B9=B6=E5=85=A5?= =?UTF-8?q?=E4=B8=BB=E5=88=86=E6=94=AF[CI=20SKIP]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- judge/judger/client.py | 2 +- judge/judger/settings.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/judge/judger/client.py b/judge/judger/client.py index fc7d0b9..4b0ec02 100644 --- a/judge/judger/client.py +++ b/judge/judger/client.py @@ -170,4 +170,4 @@ class JudgeClient(object): # http://stackoverflow.com/questions/25382455/python-notimplementederror-pool-objects-cannot-be-passed-between-processes self_dict = self.__dict__.copy() del self_dict['_pool'] - return self_dict \ No newline at end of file + return self_dict diff --git a/judge/judger/settings.py b/judge/judger/settings.py index 1f15b96..5f8d7ce 100644 --- a/judge/judger/settings.py +++ b/judge/judger/settings.py @@ -17,7 +17,7 @@ judger_workspace = "/var/judger/" # 这个是在docker 中访问数据库 ip 不一定和web服务器还有celery的一样 submission_db = { - "host": "192.168.42.1", + "host": "10.172.22.50",#"192.168.42.1", "port": 3306, "db": "oj_submission", "user": "root",