projects/pk-update-icon

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 Jul 18 11:52:48 2012 +0200 (2012-07-18)
parents e2ff7b518cdb
children cd271b582019
files main.c pkui-backend.c
line diff
     1.1 --- a/main.c	Tue Nov 15 13:05:55 2011 +0100
     1.2 +++ b/main.c	Wed Jul 18 11:52:48 2012 +0200
     1.3 @@ -32,8 +32,8 @@
     1.4  	UniqueApp	*app = NULL;
     1.5  	int		exitval = 0;
     1.6  	gboolean	version = FALSE;
     1.7 -	gint		startup_delay = 10;
     1.8 -	gint		check_interval = 2 * 3600;
     1.9 +	gint		startup_delay = 300;
    1.10 +	gint		check_interval = 86400;
    1.11  	GOptionContext	*context;
    1.12  	GError		*error = NULL;
    1.13  	const GOptionEntry options[] = {
     2.1 --- a/pkui-backend.c	Tue Nov 15 13:05:55 2011 +0100
     2.2 +++ b/pkui-backend.c	Wed Jul 18 11:52:48 2012 +0200
     2.3 @@ -198,7 +198,7 @@
     2.4  
     2.5  	pspec = g_param_spec_uint("check-interval", "Check interval",
     2.6  	    "Interval in seconds for checking for new package updates", 1,
     2.7 -	    G_MAXUINT, 3600, G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
     2.8 +	    G_MAXUINT, 86400, G_PARAM_READWRITE | G_PARAM_CONSTRUCT);
     2.9  	g_object_class_install_property(gobject_class, PROP_CHECK_INTERVAL,
    2.10  	    pspec);
    2.11