2012-07-13
2012-07-13 10:00:58 by Jonas Wallden <jonasw@roxen.com>
-
ec7a482bbf60830845dab7df8ea7a2010f62a804
(7 lines)
(+5/-2)
[
Show
| Annotate
]
Branch: 5.2
Fix incorrect parameter to Pike.SmallBackend() and add thread name for
slow request monitor.
Rev: server/base_server/roxen.pike:1.1121
6:
// Per Hedbor, Henrik Grubbström, Pontus Hagland, David Hedbor and others.
// ABS and suicide systems contributed freely by Francesco Chemolli
- constant cvs_version="$Id: roxen.pike,v 1.1120 2012/07/12 14:13:52 mast Exp $";
+ constant cvs_version="$Id: roxen.pike,v 1.1121 2012/07/13 10:00:58 jonasw Exp $";
//! @appears roxen
//!
671: Inside #if undefined(NO_SLOW_REQ_BT)
{
// my_monitor is just a safeguard to ensure we don't get multiple
// monitor threads.
+ name_thread(this_thread(), "Slow request monitor");
while (slow_req_monitor == my_monitor)
- slow_req_monitor (3600);
+ slow_req_monitor (3600.0);
+ name_thread(this_thread(), 0);
}
protected mixed slow_be_call_out;