Roxen.git / server / base_server / roxen.pike

version» Context lines:

Roxen.git/server/base_server/roxen.pike:808: Inside #if undefined(NO_SLOW_REQ_BT)
   if (sizeof(th_name))    th_name = " - " + th_name + " -";    report_debug ("###### %s 0x%x%s has been busy for more than %g seconds.\n",    thread == backend_thread ? "Backend thread" : "Thread",    thread->id_number(), th_name, timeout);    int hrnow = gethrtime();    if ((hrnow - last_dump_hrtime) / 1E6 < slow_req_timeout / 2) {    describe_thread (thread);    } else {    last_dump_hrtime = hrnow; -  describe_all_threads (0, 1); +  mixed err = catch { +  describe_all_threads(0, 1); +  }; +  if (err) master()->handle_error(err);    }    }       threads_disabled = 0; // Paranoia.   }      protected void report_slow_thread_finished (Thread.Thread thread,    float time_spent)   {    string th_name =