- Save fastresume data every minute instead of every 10 sec

This commit is contained in:
Christophe Dumez 2007-11-21 16:50:26 +00:00
parent 2691677650
commit 70f8a00c20

View file

@ -60,7 +60,7 @@ bittorrent::bittorrent() : timerScan(0), DHTEnabled(false), preAllocateAll(false
ETARefresher->start(ETA_REFRESH_INTERVAL);
fastResumeSaver = new QTimer();
connect(fastResumeSaver, SIGNAL(timeout()), this, SLOT(saveFastResumeAndRatioData()));
fastResumeSaver->start(10000);
fastResumeSaver->start(60000);
// To download from urls
downloader = new downloadThread(this);
connect(downloader, SIGNAL(downloadFinished(QString, QString)), this, SLOT(processDownloadedFile(QString, QString)));