Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:851: Inside #if undefined(NO_SLOW_REQ_BT)
   if (err) master()->handle_error(err);    }    }       threads_disabled = 0; // Paranoia.   }      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))    th_name = " - " + th_name + " -";       report_debug ("###### %s 0x%x%s finished after %.2f seconds.\n",    (thread == backend_thread ?    "Backend thread" : "Thread"),    thread->id_number(), th_name, time_spent);   }