Commit 86bce719 authored by litaolemo's avatar litaolemo

update

parent 69f3be2c
......@@ -44,7 +44,7 @@ class Parse_data:
def len_list_and_send_msg(redis_clint,key_name,rules,per_sec=10):
# redis_clint = redis.StrictRedis.from_url("redis://:ReDis!GmTx*0aN3@172.16.40.145:6379/5", decode_responses=True)
res = redis_clint.llen(key_name)
print(key_name,res)
# print(key_name,res)
str_res = rules.parse(key_name,res,per_sec=per_sec)
if str_res:
send_msg_to_dingtalk(str_res,secret=secret,access_token=access_token)
......
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