浏览代码

Put in fast-shutdown for localhost

Brian Fiete 6 年之前
父节点
当前提交
70332811ca
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      BeefySysLib/util/BeefPerf.cpp

+ 1 - 2
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;
 		}