mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Improve names returned by server_info counters
This commit is contained in:
committed by
manojsdoshi
parent
fc04336caa
commit
d54f6278bb
@@ -94,7 +94,9 @@ JobQueue::addRefCountedJob(
|
||||
|
||||
// FIXME: Workaround incorrect client shutdown ordering
|
||||
// do not add jobs to a queue with no threads
|
||||
assert(type == jtCLIENT || m_workers.getNumberOfThreads() > 0);
|
||||
assert(
|
||||
(type >= jtCLIENT && type <= jtCLIENT_WEBSOCKET) ||
|
||||
m_workers.getNumberOfThreads() > 0);
|
||||
|
||||
{
|
||||
std::lock_guard lock(m_mutex);
|
||||
|
||||
Reference in New Issue
Block a user