mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-26 06:53:37 +00:00
Debug level tweaks.
This commit is contained in:
parent
8ff5db2c23
commit
09a4423efc
1 changed files with 3 additions and 3 deletions
6
httpd.c
6
httpd.c
|
@ -295,14 +295,14 @@ static void *job_thread(void *arg)
|
|||
{
|
||||
long long pid = (long long)arg;
|
||||
|
||||
srv_debug(0, xs_fmt("job thread %ld started", pid));
|
||||
srv_debug(1, xs_fmt("job thread %ld started", pid));
|
||||
|
||||
for (;;) {
|
||||
xs *job = NULL;
|
||||
|
||||
job_wait(&job);
|
||||
|
||||
srv_debug(0, xs_fmt("job thread %ld wake up", pid));
|
||||
srv_debug(1, xs_fmt("job thread %ld wake up", pid));
|
||||
|
||||
if (job == NULL)
|
||||
break;
|
||||
|
@ -322,7 +322,7 @@ static void *job_thread(void *arg)
|
|||
}
|
||||
}
|
||||
|
||||
srv_debug(0, xs_fmt("job thread %ld stopped", pid));
|
||||
srv_debug(1, xs_fmt("job thread %ld stopped", pid));
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue