config 增加超时参数设置和消息接收设置

This commit is contained in:
dongchangxi committed 2023-10-11 15:13:57 +08:00
1 parent f93578258a
commit bf7950502c
1 file changed
+41 -1
+41 -1
View File
@@ -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']
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,
},
}