Mercurial > projects > pk-update-icon
comparison pkui-backend.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 | ed1457a4e2c8 |
children | f6edbee6441f |
comparison
equal
deleted
inserted
replaced
30:e2ff7b518cdb | 31:f549b75c3c22 |
---|---|
196 g_object_class_install_property(gobject_class, PROP_STARTUP_DELAY, | 196 g_object_class_install_property(gobject_class, PROP_STARTUP_DELAY, |
197 pspec); | 197 pspec); |
198 | 198 |
199 pspec = g_param_spec_uint("check-interval", "Check interval", | 199 pspec = g_param_spec_uint("check-interval", "Check interval", |
200 "Interval in seconds for checking for new package updates", 1, | 200 "Interval in seconds for checking for new package updates", 1, |
201 G_MAXUINT, 3600, G_PARAM_READWRITE | G_PARAM_CONSTRUCT); | 201 G_MAXUINT, 86400, G_PARAM_READWRITE | G_PARAM_CONSTRUCT); |
202 g_object_class_install_property(gobject_class, PROP_CHECK_INTERVAL, | 202 g_object_class_install_property(gobject_class, PROP_CHECK_INTERVAL, |
203 pspec); | 203 pspec); |
204 | 204 |
205 pspec = g_param_spec_boolean("inhibit-check", "Inhibit check", | 205 pspec = g_param_spec_boolean("inhibit-check", "Inhibit check", |
206 "Whether to inhibit checks for new package updates", FALSE, | 206 "Whether to inhibit checks for new package updates", FALSE, |