Author: adrian.chadd
Date: Sun Jul  5 05:30:10 2009
New Revision: 14129

Modified:
    branches/LUSCA_HEAD/src/main.c

Log:
Merge Squid-2 patch 12461 - remove duplicate peerMonitorInit() on  
reconfigure

from the commit message:

mainReconfigure() calls serverConnectionsOpen, which calls  
peerMonitorInit(),
and then calls peerMonitorInit() directly.

This has the effect of spawning a duplicate monitoring event for each peer
every time Squid is reconfigured.



Modified: branches/LUSCA_HEAD/src/main.c
==============================================================================
--- branches/LUSCA_HEAD/src/main.c      (original)
+++ branches/LUSCA_HEAD/src/main.c      Sun Jul  5 05:30:10 2009
@@ -493,7 +493,6 @@
      writePidFile();           /* write PID file */
      debug(1, 1) ("Ready to serve requests.\n");
      reconfiguring = 0;
-    peerMonitorInit();
  }

  static void

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"lusca-commit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/lusca-commit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to