[PATCH 1/3] yum-cron: Enable random_sleep by default.

Zdenek Pavlas zpavlas at redhat.com
Mon Jan 13 15:45:53 UTC 2014


---
 etc/yum-cron-hourly.conf | 2 +-
 etc/yum-cron.conf        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/etc/yum-cron-hourly.conf b/etc/yum-cron-hourly.conf
index 2d52349..e026555 100644
--- a/etc/yum-cron-hourly.conf
+++ b/etc/yum-cron-hourly.conf
@@ -25,7 +25,7 @@ apply_updates = no
 # minutes before running.  This is useful for e.g. staggering the
 # times that multiple systems will access update servers.  If
 # random_sleep is 0 or negative, the program will run immediately.
-random_sleep = 0
+random_sleep = 30
 
 
 [emitters]
diff --git a/etc/yum-cron.conf b/etc/yum-cron.conf
index a97d881..607c757 100644
--- a/etc/yum-cron.conf
+++ b/etc/yum-cron.conf
@@ -24,7 +24,7 @@ apply_updates = no
 # minutes before running.  This is useful for e.g. staggering the
 # times that multiple systems will access update servers.  If
 # random_sleep is 0 or negative, the program will run immediately.
-random_sleep = 0
+random_sleep = 30
 
 
 [emitters]
-- 
1.7.11.7



More information about the Yum-devel mailing list