mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 21:35:04 +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;
|
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 (;;) {
|
for (;;) {
|
||||||
xs *job = NULL;
|
xs *job = NULL;
|
||||||
|
|
||||||
job_wait(&job);
|
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)
|
if (job == NULL)
|
||||||
break;
|
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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue