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:
Klaus Basan
2018-12-04 02:53:05 +01:00
parent 40afedcaed
commit 3c20590293
5 changed files with 32 additions and 12 deletions

View File

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