From 8a2c67a709914a02846d489104bc07521b4816a5 Mon Sep 17 00:00:00 2001 From: Mayank Chhabra Date: Mon, 3 Aug 2020 12:21:01 +0530 Subject: [PATCH] Increase Docker HTTP timeouts (#82) --- scripts/start | 5 +++++ scripts/stop | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/scripts/start b/scripts/start index b14516f..0e41490 100755 --- a/scripts/start +++ b/scripts/start @@ -50,6 +50,11 @@ echo "Starting karen..." echo ./karen & +# Increase default Docker and Compose timeouts to 240s +# As bitcoin can take a long while to respond +export DOCKER_CLIENT_TIMEOUT=240 +export COMPOSE_HTTP_TIMEOUT=240 + echo echo "Starting Docker services..." echo diff --git a/scripts/stop b/scripts/stop index 375a7f2..0941c9b 100755 --- a/scripts/stop +++ b/scripts/stop @@ -19,6 +19,11 @@ fi cd "$UMBREL_ROOT" +# Increase default Docker and Compose timeouts to 240s +# As bitcoin can take a long while to respond +export DOCKER_CLIENT_TIMEOUT=240 +export COMPOSE_HTTP_TIMEOUT=240 + echo "Stopping Docker services..." echo docker-compose down