mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-03-06 14:27:43 +00:00
Added a debug log message to ApplicationUpdater if not enough time has passed since the last run.
This commit is contained in:
parent
70e8b9b750
commit
9404fe5d90
|
@ -76,6 +76,10 @@ void ApplicationUpdater::checkForUpdates()
|
||||||
LOG(LogInfo) << "Checking for application updates...";
|
LOG(LogInfo) << "Checking for application updates...";
|
||||||
mThread = std::make_unique<std::thread>(&ApplicationUpdater::updaterThread, this);
|
mThread = std::make_unique<std::thread>(&ApplicationUpdater::updaterThread, this);
|
||||||
}
|
}
|
||||||
|
else {
|
||||||
|
LOG(LogDebug) << "ApplicationUpdater::checkForUpdates(): Skipping check as not enough time "
|
||||||
|
"has passed since the last run";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void ApplicationUpdater::updaterThread()
|
void ApplicationUpdater::updaterThread()
|
||||||
|
|
Loading…
Reference in a new issue