From bf7950502c1b97dcbf8c617b8a4848f7cccf4cfd Mon Sep 17 00:00:00 2001 From: dongchangxi <458593490@qq.com> Date: Wed, 11 Oct 2023 15:13:57 +0800 Subject: [PATCH] =?UTF-8?q?config=20=E5=A2=9E=E5=8A=A0=E8=B6=85=E6=97=B6?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E8=AE=BE=E7=BD=AE=E5=92=8C=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E6=8E=A5=E6=94=B6=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/config.py | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) diff --git a/libs/config.py b/libs/config.py index d48179f..aa7f7d2 100644 --- a/libs/config.py +++ b/libs/config.py @@ -19,6 +19,7 @@ oss_bucket = oss2.Bucket(oss2.Auth(ali_oss['access_key_id'], ali_oss['access_key redis_remote = redis.Redis(host='106.14.158.208', password='kcV2000', port=6379, db=6) redis_local = redis.Redis(host='172.16.20.13', password='ph2008', port=6379, db=0) +redis_local_common = redis.Redis(host='172.16.20.13', password='ph2008', port=6379, db=1) mysql_local = { "host": "172.16.20.13", "port": 3306, @@ -88,4 +89,43 @@ ps_floor_sticker = { } # 需要加入新建模系统的影棚 -new_make_psids = ['1', '29', '44', '54', '55', '63', '65', '77', '79', '80', '85', '86'] \ No newline at end of file +new_make_psids = ['1', '29', '44', '54', '55', '63', '65', '77', '79', '80', '85', '86'] + +#企业微信通知人员 +notify_user_Ids = ["DongZhangXi","YouShui"] + +#任务运行超时时间设定 ,单位秒 +task_run_timeout = { + "R11":{ + "all":60*40, + "step1":60*4, + "step2":60*12, + "step3":60*12, + }, + "R12":{ + "all":60*40, + "step1":60*4, + "step2":60*12, + "step3":60*12, + }, + "R13":{ + "step2":60*12, + "step3":60*12, + }, + "R14":{ + "step2":60*12, + "step3":60*12, + }, + "R15":{ + "step2":60*12, + "step3":60*12, + }, + "R16":{ + "step2":60*12, + "step3":60*12, + }, + "R17":{ + "step2":60*12, + "step3":60*12, + }, +} \ No newline at end of file