Propagator: Delay job execution a bit #7439
authorMarkus Goetz <markus@woboq.com>
Thu, 29 Aug 2019 12:04:48 +0000 (14:04 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:58 +0000 (10:58 +0100)
src/libsync/owncloudpropagator.cpp

index 3fbbd8f035ad8532e963160386a15b8483060944..ed9eeea4113c6a9d585e92cccc663d52b27cba2c 100644 (file)
@@ -590,7 +590,7 @@ void OwncloudPropagator::scheduleNextJob()
 {
     if (_jobScheduled) return; // don't schedule more than 1
     _jobScheduled = true;
-    QTimer::singleShot(0, this, &OwncloudPropagator::scheduleNextJobImpl);
+    QTimer::singleShot(3, this, &OwncloudPropagator::scheduleNextJobImpl);
 }
 
 void OwncloudPropagator::scheduleNextJobImpl()