summaryrefslogtreecommitdiffstats
path: root/mdkapplet
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-07-21 15:37:49 +0000
committerThierry Vignaud <tv@mandriva.org>2009-07-21 15:37:49 +0000
commit5f2a066b410db4e7f66e1a5b78285c20282fcb02 (patch)
tree601e2138638cfff571c144731185c135c73757a2 /mdkapplet
parente91b9f75bf2d22b0bece4b0ea5af3e602493a78e (diff)
downloadmgaonline-5f2a066b410db4e7f66e1a5b78285c20282fcb02.tar
mgaonline-5f2a066b410db4e7f66e1a5b78285c20282fcb02.tar.gz
mgaonline-5f2a066b410db4e7f66e1a5b78285c20282fcb02.tar.bz2
mgaonline-5f2a066b410db4e7f66e1a5b78285c20282fcb02.tar.xz
mgaonline-5f2a066b410db4e7f66e1a5b78285c20282fcb02.zip
when using --testing, reduce initial check delay from 3 to 1 second
Diffstat (limited to 'mdkapplet')
-rwxr-xr-xmdkapplet2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdkapplet b/mdkapplet
index 0f0dc851..92c37aff 100755
--- a/mdkapplet
+++ b/mdkapplet
@@ -52,7 +52,7 @@ my ($menu, $timeout, $network_timeout, $state_global, $sub_state);
my %config = getVarsFromSh('/etc/sysconfig/mdkapplet');
$config{UPDATE_FREQUENCY} ||= 3*60*60; # default to 3hours
if ($::testing) {
- $config{FIRST_CHECK_DELAY} = 3 * 1000; # 3seconds
+ $config{FIRST_CHECK_DELAY} = 1 * 1000; # 1 second
} else {
$config{FIRST_CHECK_DELAY} ||= 5 * 60 * 1000; # default to 5 minutes
}