Commit 83af8c78 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

notifier: Reduce the unattended updates idle timeout to 15'

1h was too hard to reach, 15' should work just as well.


(cherry picked from commit 6c9d2f24)
parent fe6349ca
......@@ -33,7 +33,7 @@ void UnattendedUpdates::checkNewState()
qDebug() << "waiting for an idle moment";
// If the system is untouched for 1 hour, trigger the unattened update
using namespace std::chrono_literals;
KIdleTime::instance()->addIdleTimeout(int(std::chrono::milliseconds(1h).count()));
KIdleTime::instance()->addIdleTimeout(int(std::chrono::milliseconds(15min).count()));
} else {
KIdleTime::instance()->removeAllIdleTimeouts();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment