Mercurial > projects > pk-update-icon
diff main.c @ 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 | 7af115023d5a |
children | aa5d3752091d |
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[] = {