Merge branch 'master' into implement-on-demand-capability

This commit is contained in:
abraunegg 2026-02-05 21:20:13 +11:00 committed by GitHub
commit 86683d932c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1379,7 +1379,7 @@ int main(string[] cliArgs) {
auto sleepTime = nextCheckTime - currentTime;
if (debugLogging) {addLogEntry("Sleep for " ~ to!string(sleepTime), ["debug"]);}
if (filesystemMonitor.initialised || webhookEnabled) {
if (filesystemMonitor.initialised || webhookEnabled || oneDriveSocketIo !is null) {
if (filesystemMonitor.initialised) {
// If local monitor is on and is waiting (previous event was not from webhook)