Skip to content

Commit

Permalink
Raise back docker-gen debounce a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
buchdag committed Dec 6, 2020
1 parent 3d0cd89 commit 73b7186
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ trap 'term_handler' INT QUIT TERM
/app/letsencrypt_service &
letsencrypt_service_pid=$!

wait_default="500ms:2s"
wait_default="5s:20s"
DOCKER_GEN_WAIT="${DOCKER_GEN_WAIT:-$wait_default}"
docker-gen -watch -notify '/app/signal_le_service' -wait "$DOCKER_GEN_WAIT" /app/letsencrypt_service_data.tmpl /app/letsencrypt_service_data &
docker_gen_pid=$!
Expand Down
1 change: 1 addition & 0 deletions test/tests/test-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function run_le_container {
--volumes-from "$NGINX_CONTAINER_NAME" \
--volume /var/run/docker.sock:/var/run/docker.sock:ro \
"${cli_args_arr[@]}" \
--env "DOCKER_GEN_WAIT=500ms:2s" \
--env "TEST_MODE=true" \
--env "DHPARAM_BITS=256" \
--env "DEBUG=1" \
Expand Down

0 comments on commit 73b7186

Please sign in to comment.