From 20558f1bf1af5d7c47fbb0d38f608fc67c4d90f4 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 16 May 2024 14:02:24 +0200 Subject: Lower polling interval from 2500 to 2000 ms --- src/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui.cpp b/src/gui.cpp index f46e9c7..ed0f54c 100644 --- a/src/gui.cpp +++ b/src/gui.cpp @@ -45,7 +45,7 @@ Gui::Gui(const QString &urlbase, const QString &uuid, int dnbd3pid, const QStrin setupUi(); auto flags = windowFlags() | Qt::WindowStaysOnTopHint; setWindowFlags(flags & ~(Qt::WindowMinMaxButtonsHint | Qt::WindowCloseButtonHint)); - _tmrStatus->start(2500); + _tmrStatus->start(2000); QObject::connect(_tmrStatus, &QTimer::timeout, [this]() { Gui::queryRemoteStatus(); if (_remoteState == STATE_WAITING_FOR_UPLOAD_DONE || _remoteState == STATE_COPYING) { -- cgit v1.2.3-55-g7522