1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Put in fast-shutdown for localhost

This commit is contained in:
Brian Fiete 2019-09-18 08:16:27 -07:00
parent a233e73552
commit 70332811ca

View file

@ -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;
}