mirror of
https://github.com/owntone/owntone-server.git
synced 2025-04-01 18:21:31 -04:00
Show idle threads in thread status
This commit is contained in:
parent
a9e2d3a1b5
commit
51274d7b03
@ -1029,7 +1029,7 @@ void config_emit_threadstatus(WS_CONNINFO *pwsc, void *value, char *arg) {
|
|||||||
pss = ws_get_local_storage(pci);
|
pss = ws_get_local_storage(pci);
|
||||||
if(pss) {
|
if(pss) {
|
||||||
ws_writefd(pwsc,"<tr><td>%d</td><td>%d</td><td>%s</td><td>%s</td></tr>\n",
|
ws_writefd(pwsc,"<tr><td>%d</td><td>%d</td><td>%s</td><td>%s</td></tr>\n",
|
||||||
pss->thread,pss->session,pss->host,pss->what);
|
pss->thread,pss->session,pss->host,pss->what ? pss->what : "Idle");
|
||||||
}
|
}
|
||||||
pci=ws_thread_enum_next(config.server,&wste);
|
pci=ws_thread_enum_next(config.server,&wste);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user