Commit e59d4b25 authored by litaolemo's avatar litaolemo

update

parent 266f408f
......@@ -123,8 +123,8 @@ def parse_node_stats(data):
if search_thread_pool['queue'] > search_queue_max:
res_str += '{}节点 search queue 目前为{} \n'.format(node_name, str(search_thread_pool['queue']))
if search_thread_pool['rejected'] - rejected_last > 0:
res_str += '{}节点 search rejected 目前为 {} \n'.format(node_name, str(search_thread_pool['queue']))
if search_thread_pool['rejected'] > 0:
res_str += '{}节点 search rejected 目前为 {} \n'.format(node_name, str(search_thread_pool['rejected']))
if old_gc - old_gc_last > 0:
res_str += "{name}节点 old_gc增长中 old_gc为{old_gc} 平均{old_gc_ms}ms\n".format(name=node_name, old_gc=str(old_gc),
......
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