diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-07-21 15:37:49 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-07-21 15:37:49 +0000 |
commit | 5f2a066b410db4e7f66e1a5b78285c20282fcb02 (patch) | |
tree | 601e2138638cfff571c144731185c135c73757a2 | |
parent | e91b9f75bf2d22b0bece4b0ea5af3e602493a78e (diff) | |
download | mgaonline-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
-rwxr-xr-x | mdkapplet | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 } |