mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
Allow a forced update of the setup reader
When the network is down it can happen the bootstrap file request is not yet timed out but we use our own time out. In that case we check the cached data upfront by faking a failed web read.
This commit is contained in:
@@ -202,6 +202,11 @@ namespace BlackCore
|
||||
m_shutdown = true;
|
||||
}
|
||||
|
||||
void CSetupReader::forceAvailabilityUpdate()
|
||||
{
|
||||
this->manageSetupAvailability(false, false); // fake a failed web read
|
||||
}
|
||||
|
||||
void CSetupReader::readSetup()
|
||||
{
|
||||
const CStatusMessageList msgs(this->triggerReadSetup());
|
||||
|
||||
Reference in New Issue
Block a user