f819908d41
Update checks from cron were using sleep 21332 to avoid hammering the servers which is indeed very useful feature. However, those wait times were easily several hours so a user might well shut down the system before any checking is done. This patch allows defining maximum wait time limit for the cron script, defaulting to one hour. Using the default clients now will wait 1 - 3600 seconds before contacting the servers
19 lines
639 B
Plaintext
19 lines
639 B
Plaintext
# should we attempt to do this? (valid: yes|no)
|
|
ENABLED=no
|
|
|
|
# don't install, just check (valid: yes|no)
|
|
CHECK_ONLY=no
|
|
|
|
# if MAILTO is set, the mail command is used to deliver PackageKit output
|
|
# by default MAILTO is unset, so crond mails the output by itself
|
|
#MAILTO=root
|
|
|
|
# you may set SYSTEM_NAME if you want your PackageKit emails tagged
|
|
# differently default is output of hostname command
|
|
#SYSTEM_NAME=""
|
|
|
|
# update checks will sleep random time before contacting the servers to
|
|
# avoid hammering them with thousands of request at the same time - this
|
|
# is the maximum sleep time (in seconds) for the random wait period
|
|
SLEEP_MAX=3600
|