Skip to content

Commit

Permalink
Container: Set a less frequent healthcheck to reduce CPU usage (proce…
Browse files Browse the repository at this point in the history
  • Loading branch information
badlop committed Jun 9, 2022
1 parent 06a2b1c commit a6101cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ RUN addgroup ejabberd -g 9000 \
&& chown -R ejabberd:ejabberd $HOME

HEALTHCHECK \
--interval=5s \
--interval=1m \
--timeout=5s \
--start-period=5s \
--retries=120 \
--retries=10 \
CMD /usr/local/bin/ejabberdctl status

WORKDIR $HOME
Expand Down

0 comments on commit a6101cc

Please sign in to comment.