Просмотр исходного кода

changes sleep to 0.5 to speed up files loading

Daniel Gibbs 8 лет назад
Родитель
Сommit
9791f93fe4
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      lgsm/functions/core_dl.sh

+ 1 - 1
lgsm/functions/core_dl.sh

@@ -115,7 +115,7 @@ fn_fetch_file(){
 		# if larger file shows progress bar
 		if [ "${local_filename##*.}" == "bz2" ]||[ "${local_filename##*.}" == "gz" ]||[ "${local_filename##*.}" == "zip" ]||[ "${local_filename##*.}" == "jar" ]; then
 			echo -ne "downloading ${local_filename}..."
-			sleep 1
+			sleep 0.5
 			curlcmd=$(${curlpath} --progress-bar --fail -L -o "${local_filedir}/${local_filename}" "${remote_fileurl}")
 			echo -ne "downloading ${local_filename}..."
 		else