Commit be1f58fb authored by 宋柯's avatar 宋柯

降配

parent 304a46d0
......@@ -70,7 +70,7 @@ def len_list_and_send_msg(redis_clint, key_name, rules, per_sec=10):
# print(key_name,res)
str_res = rules.parse(key_name, res, per_sec=per_sec)
if str_res:
send_msg_to_dingtalk(str_res,mobiles=["13552564745","17813268931"], secret=token_dict[key_name]['secret'],
send_msg_to_dingtalk(str_res,mobiles=["13552564745","17813268931","19566173658"], secret=token_dict[key_name]['secret'],
access_token=token_dict[key_name]['access_token'])
......@@ -85,6 +85,7 @@ if __name__ == "__main__":
"graces-es6-tapir-service": redis_new_gaia,
"graces-es6-tapir-doctor": redis_new_gaia,
"mentha-tapir-answer": redis_new_mimas,
"graces-tapir-card":redis_new_gaia,
"mentha-tapir-tractate": redis_new_mimas,
}
per_sec = 60 * 5
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment