]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polish: better WARNING when workers directive is ignore on reconfigure.
authorAmos Jeffries <squid3@treenet.co.nz>
Thu, 3 Oct 2013 11:18:10 +0000 (05:18 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Thu, 3 Oct 2013 11:18:10 +0000 (05:18 -0600)
Changing the workers directive requires a proxy restart, not just a
reconfigure. State this clearly in the warning message.

src/main.cc

index 9c5d232ed956fc7e0bc08f0a84e3bcca2ecb6b80..8da6920b17eca5ac679b9e18dc6ed7d0324671d9 100644 (file)
@@ -808,7 +808,7 @@ mainReconfigureFinish(void *)
     if (oldWorkers != Config.workers) {
         debugs(1, DBG_CRITICAL, "WARNING: Changing 'workers' (from " <<
                oldWorkers << " to " << Config.workers <<
-               ") is not supported and ignored");
+               ") requires a full restart. It has been ignored by reconfigure.");
         Config.workers = oldWorkers;
     }