From 70332811ca1829c0e8520d75a3e6d77d8b1374a3 Mon Sep 17 00:00:00 2001 From: Brian Fiete Date: Wed, 18 Sep 2019 08:16:27 -0700 Subject: [PATCH] Put in fast-shutdown for localhost --- BeefySysLib/util/BeefPerf.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/BeefySysLib/util/BeefPerf.cpp b/BeefySysLib/util/BeefPerf.cpp index b7e90574..98fb8444 100644 --- a/BeefySysLib/util/BeefPerf.cpp +++ b/BeefySysLib/util/BeefPerf.cpp @@ -750,8 +750,7 @@ bool BpManager::Connect() if (mShutdownEvent.WaitFor(0)) { // We are shutting down - have we waited enough? - //int minWaitMS = isLocalhost ? 50 : 20*1000; - int minWaitMS = 20 * 1000; + int minWaitMS = isLocalhost ? 50 : 20*1000; if (totalWaitedMS >= minWaitMS) return false; }