Commit afcfdaa6 authored by litaolemo's avatar litaolemo

update

parent c47972a5
......@@ -29,10 +29,10 @@ class Parse_data:
rate = len_data_diff / per_sec
if len_data_diff > 0:
use_time = round(len_data/rate/60/60,1)
return "目前队列中有{}条数据,预计{}小时后处理完成".format(str(len_data),str(use_time))
return "目前{}队列中有{}条数据,预计{}小时后处理完成".format(key_name,str(len_data),str(use_time))
else:
if abs(rate) > 0:
return "队列快速增长中"
return "{}队列增长中,目前有{}条数据".format(key_name,str(len_data))
self.offset_dict[key_name] = len_data
......
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