mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:35:34 +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:
@@ -149,6 +149,10 @@ namespace BlackCore
|
||||
//! \threadsafe
|
||||
bool isSetupAvailable() const { return m_setupAvailable; }
|
||||
|
||||
//! Force an availability update
|
||||
//! \remark check for cached setup if the read check never got triggered
|
||||
void forceAvailabilityUpdate();
|
||||
|
||||
//! Version info available?
|
||||
//! \threadsafe
|
||||
bool isUpdateInfoAvailable() const { return m_updateInfoAvailable; }
|
||||
|
||||
Reference in New Issue
Block a user