summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2018-08-13 16:18:30 +0100
committerKatolaZ <katolaz@freaknet.org>2018-08-13 16:18:30 +0100
commit3ed2653b14d882e008816ff634f8a542a4218602 (patch)
tree234f724fe8425d13fa7443751e27698318dcf5f6
parent068c917117fa0daf465cebabf1e4c586ed3b3ef5 (diff)
added sleep on serving large files
-rwxr-xr-xgosher1
1 files changed, 1 insertions, 0 deletions
diff --git a/gosher b/gosher
index eeab47b..31fe2d3 100755
--- a/gosher
+++ b/gosher
@@ -148,6 +148,7 @@ serve_selector(){
cat "${sel}"
echo "[$(date +%Y-%m-%d\ %H:%M:%S)|SELECTOR|${sel}|\"\"]" >&2
+ sleep 1
exec 1>&-
exec 2>&-
exit 0