added sleep on serving large files

master
KatolaZ 6 years ago
parent 068c917117
commit 3ed2653b14
  1. 1
      gosher

@ -148,6 +148,7 @@ serve_selector(){
cat "${sel}" cat "${sel}"
echo "[$(date +%Y-%m-%d\ %H:%M:%S)|SELECTOR|${sel}|\"\"]" >&2 echo "[$(date +%Y-%m-%d\ %H:%M:%S)|SELECTOR|${sel}|\"\"]" >&2
sleep 1
exec 1>&- exec 1>&-
exec 2>&- exec 2>&-
exit 0 exit 0

Loading…
Cancel
Save