mention the -nc option in the max-conn errormsg

This commit is contained in:
ed 2025-08-03 21:35:33 +00:00
parent 66a5bf365b
commit 153d240d0d

View file

@ -324,7 +324,8 @@ class HttpSrv(object):
spins = 0 spins = 0
while self.ncli >= self.nclimax: while self.ncli >= self.nclimax:
if not spins: if not spins:
self.log(self.name, "at connection limit; waiting", 3) t = "at connection limit (global-option 'nc'); waiting"
self.log(self.name, t, 3)
spins += 1 spins += 1
time.sleep(0.1) time.sleep(0.1)