Skip to content

Commit

Permalink
Increased the healthcheck timeout yet again to prevent unhealthy stat…
Browse files Browse the repository at this point in the history
…us during heavy load
  • Loading branch information
immauss committed Nov 29, 2023
1 parent 501e1b8 commit 80dd92e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,6 @@ COPY var-lib.tar.xz /usr/lib/var-lib.tar.xz
COPY scripts/* /scripts/
# Healthcheck needs be an on image script that will know what service is running and check it.
# Current image function stored in /usr/local/etc/running-as
HEALTHCHECK --interval=60s --start-period=300s --timeout=10s \
HEALTHCHECK --interval=120s --start-period=300s --timeout=120s \
CMD /scripts/healthcheck.sh || exit 1
ENTRYPOINT [ "/scripts/start.sh" ]
2 changes: 1 addition & 1 deletion Dockerfile.refresh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ COPY var-lib.tar.xz /usr/lib/var-lib.tar.xz
COPY scripts/* /scripts/
# Healthcheck needs be an on image script that will know what service is running and check it.
# Current image function stored in /usr/local/etc/running-as
HEALTHCHECK --interval=60s --start-period=300s --timeout=10s \
HEALTHCHECK --interval=120s --start-period=300s --timeout=120s \
CMD /scripts/healthcheck.sh || exit 1
ENTRYPOINT [ "/scripts/start.sh" ]

0 comments on commit 80dd92e

Please sign in to comment.