Skip to content

Commit a6101cc

Browse files
committed
Container: Set a less frequent healthcheck to reduce CPU usage (#3826)
1 parent 06a2b1c commit a6101cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/container/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,10 @@ RUN addgroup ejabberd -g 9000 \
102102
&& chown -R ejabberd:ejabberd $HOME
103103

104104
HEALTHCHECK \
105-
--interval=5s \
105+
--interval=1m \
106106
--timeout=5s \
107107
--start-period=5s \
108-
--retries=120 \
108+
--retries=10 \
109109
CMD /usr/local/bin/ejabberdctl status
110110

111111
WORKDIR $HOME

0 commit comments

Comments
 (0)