mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 13:23:34 -07:00
Make the scheduler timeout every 1.5s.
This commit is contained in:
parent
ae67141fed
commit
44d0baf9a2
1 changed files with 1 additions and 2 deletions
|
@ -7,7 +7,6 @@
|
|||
#include "preferences.h"
|
||||
#include <iostream>
|
||||
|
||||
#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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue