Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Discover
Commits
6c9d2f24
Commit
6c9d2f24
authored
Feb 16, 2021
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.
parent
7f09be0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
notifier/UnattendedUpdates.cpp
View file @
6c9d2f24
...
...
@@ -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
(
1
h
).
count
()));
KIdleTime
::
instance
()
->
addIdleTimeout
(
int
(
std
::
chrono
::
milliseconds
(
1
5min
).
count
()));
}
else
{
KIdleTime
::
instance
()
->
removeAllIdleTimeouts
();
}
...
...
Aleix Pol Gonzalez
🐧
@apol
mentioned in commit
83af8c78
·
Feb 17, 2021
mentioned in commit
83af8c78
mentioned in commit 83af8c78dc56f9bca60059145752cbb5128d0cbb
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment