diff options
author | KatolaZ <katolaz@freaknet.org> | 2018-08-13 16:18:30 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2018-08-13 16:18:30 +0100 |
commit | 3ed2653b14d882e008816ff634f8a542a4218602 (patch) | |
tree | 234f724fe8425d13fa7443751e27698318dcf5f6 | |
parent | 068c917117fa0daf465cebabf1e4c586ed3b3ef5 (diff) |
added sleep on serving large files
-rwxr-xr-x | gosher | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |