Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Apache:Modules
apache2-mod_qos
mod_qos-loggerThread.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mod_qos-loggerThread.patch of Package apache2-mod_qos
--- tools/src/qslog.c 2009-06-11 21:02:42.000000000 +0200 +++ tools/src/qslog.c 2011-03-05 17:46:47.000000000 +0100 @@ -489,13 +489,13 @@ * calls printAndResetStat() every minute * => used for real time analysis */ -static void *loggerThread(void *argv) { +void *loggerThread(void *argv) { char buf[1024]; while(1) { struct tm *ptr; time_t tm = time(NULL); time_t w = tm / LOG_INTERVAL * LOG_INTERVAL + LOG_INTERVAL; - sleep(w - tm); + usleep(1000000*(w - tm)); tm = time(NULL); ptr = localtime(&tm);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor