[Pkg-owncloud-commits] [owncloud-client] 04/333: Only wait half a second before the next folder sync is started.
Sandro Knauß
hefee-guest at moszumanska.debian.org
Thu Apr 17 23:16:26 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 41a4f1fc376ce15033415aaa9864be68a9fed0be
Author: Klaas Freitag <freitag at owncloud.com>
Date: Fri Feb 7 11:51:56 2014 +0100
Only wait half a second before the next folder sync is started.
---
src/mirall/folderman.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/mirall/folderman.cpp b/src/mirall/folderman.cpp
index ea4e258..7dcaaee 100644
--- a/src/mirall/folderman.cpp
+++ b/src/mirall/folderman.cpp
@@ -401,12 +401,12 @@ void FolderMan::slotScheduleSync( const QString& alias )
}
}
_scheduleQueue.enqueue(alias);
+
} else {
qDebug() << " II> Sync for folder " << alias << " already scheduled, do not enqueue!";
}
-
- // wait two seconds until the syncing starts
- QTimer::singleShot(2000, this, SLOT(slotScheduleFolderSync()));
+ // wait a moment until the syncing starts
+ QTimer::singleShot(500, this, SLOT(slotScheduleFolderSync()));
}
void FolderMan::setSyncEnabled( bool enabled )
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list