changeset 31:f549b75c3c22

increase the default update interval and delay before checking for updates increase the default update interval to 24 h in order to ease the load on the infrastructure increase the default delay before checking for updates to 5 min as commit 777c0d750cdc0a1e31f98066fc248e04e2e84599 was incomplete (bnc#729230)
author Guido Berhoerster <gber@opensuse.org>
date Wed, 18 Jul 2012 11:52:48 +0200
parents e2ff7b518cdb
children cd271b582019
files main.c pkui-backend.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Tue Nov 15 13:05:55 2011 +0100
+++ b/main.c	Wed Jul 18 11:52:48 2012 +0200
@@ -32,8 +32,8 @@
 	UniqueApp	*app = NULL;
 	int		exitval = 0;
 	gboolean	version = FALSE;
-	gint		startup_delay = 10;
-	gint		check_interval = 2 * 3600;
+	gint		startup_delay = 300;
+	gint		check_interval = 86400;
 	GOptionContext	*context;
 	GError		*error = NULL;
 	const GOptionEntry options[] = {
--- a/pkui-backend.c	Tue Nov 15 13:05:55 2011 +0100
+++ b/pkui-backend.c	Wed Jul 18 11:52:48 2012 +0200
@@ -198,7 +198,7 @@
 
 	pspec = g_param_spec_uint("check-interval", "Check interval",
 	    "Interval in seconds for checking for new package updates", 1,
-	    G_MAXUINT, 3600, G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
+	    G_MAXUINT, 86400, G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
 	g_object_class_install_property(gobject_class, PROP_CHECK_INTERVAL,
 	    pspec);