diff --git a/web/clitools/getinstinfo.php b/web/clitools/getinstinfo.php index 4518d8c..5393fe1 100755 --- a/web/clitools/getinstinfo.php +++ b/web/clitools/getinstinfo.php @@ -48,7 +48,8 @@ if (function_exists('pcntl_signal')) { $opts=[ 'hostname'=>null, - 'timeout'=>10, + 'conntimeout'=>10, + 'functimeout'=>20, 'ldtoots'=>40,// number of toots to check with the automatic language detection function 'dryrun'=>false, 'fetchusers'=>false, @@ -59,8 +60,6 @@ $opts=[ $msglevs=['Debug', 'Info', 'Warning', 'Error', 'None']; -$ghtsa=[[' day',' days'],[' hour',' hours'],[' minute',' minutes'],[' second',' seconds']]; - $help='SYNOPSIS '.SNAME.' [options] @@ -88,11 +87,15 @@ OPTIONS This option defines how long the script will wait after each failed attempt at fetching a chunk of users’ info from the profile directory (see above) before retrying. - DEFAULT: '.ght($opts['udirfailst'],$ghtsa).' - -t, --timeout