comparison 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
comparison
equal deleted inserted replaced
30:e2ff7b518cdb 31:f549b75c3c22
30 { 30 {
31 PkuiIcon *icon; 31 PkuiIcon *icon;
32 UniqueApp *app = NULL; 32 UniqueApp *app = NULL;
33 int exitval = 0; 33 int exitval = 0;
34 gboolean version = FALSE; 34 gboolean version = FALSE;
35 gint startup_delay = 10; 35 gint startup_delay = 300;
36 gint check_interval = 2 * 3600; 36 gint check_interval = 86400;
37 GOptionContext *context; 37 GOptionContext *context;
38 GError *error = NULL; 38 GError *error = NULL;
39 const GOptionEntry options[] = { 39 const GOptionEntry options[] = {
40 { "delay", 'd', 0, G_OPTION_ARG_INT, &startup_delay, 40 { "delay", 'd', 0, G_OPTION_ARG_INT, &startup_delay,
41 N_("Set the delay in seconds before the first check for " 41 N_("Set the delay in seconds before the first check for "