From 3ed2653b14d882e008816ff634f8a542a4218602 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 13 Aug 2018 16:18:30 +0100 Subject: [PATCH] added sleep on serving large files --- gosher | 1 + 1 file changed, 1 insertion(+) 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