Browse Source

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

master
dongchangxi 2 years ago
parent
commit
bf7950502c
  1. 40
      libs/config.py

40
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_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 = 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 = { mysql_local = {
"host": "172.16.20.13", "host": "172.16.20.13",
"port": 3306, "port": 3306,
@ -89,3 +90,42 @@ 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,
},
}
Loading…
Cancel
Save