]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Polish: better WARNING when workers directive is ignore on reconfigure.
authorAmos Jeffries <squid3@treenet.co.nz>
Mon, 30 Sep 2013 07:22:17 +0000 (01:22 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Mon, 30 Sep 2013 07:22:17 +0000 (01:22 -0600)
Changing the workers directive requires a proxy restart, not just a
reconfigure. State this clearly in the warning message.

src/main.cc

index 469c5d61841fb48ca2e71240c6dc45a4ae5bedb6..7e8ff6ade89efb883119633ca6b7a0c50b0287ae 100644 (file)
@@ -804,7 +804,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;
     }