# HG changeset patch # User Guido Berhoerster # Date 1342605168 -7200 # Node ID f549b75c3c22aceef1dca45e9a21a621dbea9ec2 # Parent e2ff7b518cdbee4c5eabbb19337391df25982267 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) diff -r e2ff7b518cdb -r f549b75c3c22 main.c --- 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[] = { diff -r e2ff7b518cdb -r f549b75c3c22 pkui-backend.c --- 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);