mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
Cleanup PR
* Cleanup PR
This commit is contained in:
parent
07062e4098
commit
3f594c3b94
1 changed files with 2 additions and 2 deletions
|
|
@ -1289,7 +1289,7 @@ int main(string[] cliArgs) {
|
|||
// How long has the application been running for?
|
||||
auto elapsedTime = Clock.currTime() - applicationStartTime;
|
||||
if (debugLogging) {addLogEntry("Application run-time thus far: " ~ to!string(elapsedTime), ["debug"]);}
|
||||
|
||||
|
||||
// Need to re-validate that the client is still online for this loop
|
||||
if (testInternetReachability(appConfig)) {
|
||||
// Starting a sync - we are online
|
||||
|
|
@ -1346,7 +1346,7 @@ int main(string[] cliArgs) {
|
|||
// Get the current time in the local timezone
|
||||
auto timeStamp = leftJustify(Clock.currTime().toString(), 28, '0');
|
||||
addLogEntry("Timestamp: " ~ to!string(timeStamp));
|
||||
addLogEntry("Application Run Time: " ~ to!string(elapsedTime);
|
||||
addLogEntry("Application Run Time: " ~ to!string(elapsedTime));
|
||||
// Display memory stats before GC cleanup
|
||||
displayMemoryUsagePreGC();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue