mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 19:25:51 +00:00
Use alertable_sleep_for in LoadManager:
This allows the LoadManager to exit immediately instead of sleeping for up to 1 second on a stop.
This commit is contained in:
@@ -190,7 +190,7 @@ void LoadManager::run ()
|
||||
}
|
||||
else
|
||||
{
|
||||
std::this_thread::sleep_for (duration);
|
||||
alertable_sleep_for(duration);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user