From c1d66e4026a436aff20575a1e94a2b9d1b61d24c Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 26 Feb 2013 17:04:57 -0800 Subject: [PATCH] have mixer kill off silent agents --- mixer/src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mixer/src/main.cpp b/mixer/src/main.cpp index 1e9f665df7..e008a4709f 100644 --- a/mixer/src/main.cpp +++ b/mixer/src/main.cpp @@ -151,6 +151,8 @@ int main(int argc, const char * argv[]) agentList.linkedDataCreateCallback = attachNewBufferToAgent; + agentList.startSilentAgentRemovalThread(); + // setup the agentSocket to report to domain server pthread_t reportAliveThread; pthread_create(&reportAliveThread, NULL, reportAliveToDS, NULL); @@ -188,6 +190,7 @@ int main(int argc, const char * argv[]) } } + agentList.stopSilentAgentRemovalThread(); pthread_join(reportAliveThread, NULL); pthread_join(sendBufferThread, NULL);