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:
parent
a233e73552
commit
70332811ca
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue