From c9a8430463d407f9c3018b788d4ec873d69f08c9 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Sun, 20 Oct 2013 13:28:35 +0300 Subject: [PATCH] Make the scheduler timeout every 1.5s. --- src/qtlibtorrent/bandwidthscheduler.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/qtlibtorrent/bandwidthscheduler.h b/src/qtlibtorrent/bandwidthscheduler.h index e1dd80b93..5b918d814 100644 --- a/src/qtlibtorrent/bandwidthscheduler.h +++ b/src/qtlibtorrent/bandwidthscheduler.h @@ -7,7 +7,6 @@ #include "preferences.h" #include -#define SCHED_INTERVAL 2500 class BandwidthScheduler: public QTimer { Q_OBJECT @@ -59,7 +58,7 @@ public slots: // Timeout regularly to accomodate for external system clock changes // eg from the user or from a timesync utility - QTimer::start(SCHED_INTERVAL); + QTimer::start(1500); } signals: