Commit 2dac8db0 authored by 赵威's avatar 赵威

update logger

parent 45f32a62
......@@ -120,7 +120,7 @@ def clicked_tractate_ids_item2vec_model_by_ids(ids, n=5):
res.extend(clicked_tractate_ids_item2vec_model(id, n))
time_end = time.time() - time_begin
if time_end > 0.04:
send_performance_msg_to_dingtalk("clicked_tractate_ids_item2vec_model_by_ids id={} n={} cost {:.3f}ms".format(
send_performance_msg_to_dingtalk("clicked_tractate_ids_item2vec_model_by_ids ids={} n={} cost {:.3f}ms".format(
ids, n, time_end * 1000))
return res
except Exception as e:
......
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