diff options
| author | Kai Uwe Broulik <[email protected]> | 2018-10-09 13:37:10 +0200 |
|---|---|---|
| committer | Kai Uwe Broulik <[email protected]> | 2018-10-09 13:37:10 +0200 |
| commit | c69ecab9b70b988d9ee50f4e5480bf121fcc3057 (patch) | |
| tree | 0210b8a897c228d74abfff6b26352d29b9912932 /src/statusbar | |
| parent | 092d08f5e833b108e85a6f4c67f285cfd8737cad (diff) | |
[MountPointObserverCache] Update mounts less frequently
Even on fastest disks, filling up the disk in 10 seconds is unlikely.
Moreover, Plasma's "low disk" warning only polls every minute as well and Dolphin doesn't warn you about the fact that it's full.
Reduces needless wake ups of disks and network.
CCBUG: 398612
Differential Revision: https://phabricator.kde.org/D15507
Diffstat (limited to 'src/statusbar')
| -rw-r--r-- | src/statusbar/mountpointobservercache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/statusbar/mountpointobservercache.cpp b/src/statusbar/mountpointobservercache.cpp index bcdc0b61c..b39e26e3a 100644 --- a/src/statusbar/mountpointobservercache.cpp +++ b/src/statusbar/mountpointobservercache.cpp @@ -78,7 +78,7 @@ MountPointObserver* MountPointObserverCache::observerForUrl(const QUrl& url) connect(observer, &MountPointObserver::destroyed, this, &MountPointObserverCache::slotObserverDestroyed); if (!m_updateTimer->isActive()) { - m_updateTimer->start(10000); + m_updateTimer->start(60000); // 1 minute } connect(m_updateTimer, &QTimer::timeout, observer, &MountPointObserver::update); |
