From aecad5cdb8b5dcec33221a7cc5782f65541ecd4f Mon Sep 17 00:00:00 2001 From: Thomas Shields Date: Mon, 10 Apr 2017 12:02:23 -0400 Subject: [PATCH] Modify Kestrel connection config to not timeout The previous timeout was 30 seconds, which is unrealistic for a production environment and has no tangible benefits. This updates the config so that the TCP connection to the client will never timeout. --- include/wrapper.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wrapper.sh b/include/wrapper.sh index a1f7a9b..a323f1b 100644 --- a/include/wrapper.sh +++ b/include/wrapper.sh @@ -19,7 +19,7 @@ cat <<- EOF > /opt/kestrel/config.scala queuePath = "/data" - clientTimeout = 30.seconds + clientTimeout = None expirationTimerFrequency = 1.second @@ -44,4 +44,4 @@ cat <<- EOF > /opt/kestrel/config.scala EOF exec 2>&1 -exec java -jar /opt/kestrel/kestrel.jar -f /opt/kestrel/config.scala \ No newline at end of file +exec java -jar /opt/kestrel/kestrel.jar -f /opt/kestrel/config.scala