Change loglevel for "Maximum number of connections reached"

I was hit by this, and did not see anything in the log, connections was just hanging.
Think warning is a better log level
This commit is contained in:
Nicolai Søborg 2020-09-01 10:17:25 +02:00 committed by rofl0r
parent f825bea4c1
commit 281488a729

View File

@ -100,7 +100,7 @@ void child_main_loop (void)
if (sblist_getsize(childs) >= config->maxclients) { if (sblist_getsize(childs) >= config->maxclients) {
if (!was_full) if (!was_full)
log_message (LOG_NOTICE, log_message (LOG_WARNING,
"Maximum number of connections reached. " "Maximum number of connections reached. "
"Refusing new connections."); "Refusing new connections.");
was_full = 1; was_full = 1;