2016-10-25
2016-10-25 09:34:24 by Anders Johansson <anders@roxen.com>
-
2237f1af168d0e329e674be7449a9cc06b6959c6
(5 lines)
(+5/-0)
[
Show
| Annotate
]
Branch: 7.0
Removed undesired slow thread finished message
It was previously reported also when dumps for slow threads was
disabled.
858: Inside #if undefined(NO_SLOW_REQ_BT)
protected void report_slow_thread_finished (Thread.Thread thread,
float time_spent)
{
+ if (query ("slow_req_bt_count") == 0) {
+ return;
+ }
+
string th_name =
((thread != backend_thread) && thread_name(thread, 1)) || "";
if (sizeof(th_name))