Skip to content

Commit dbb89bf

Browse files
authored
Set higher kafka healthcheck timeout and fix clickhouse timeout (#1855)
This increases the timeout of kafka based on failures such as https://self-hosted.getsentry.net/organizations/self-hosted/issues/18/events/d9ae718413c94659b20b785ab0bb8aa8/?project=3&query=is%3Aunresolved&referrer=previous-event&sort=freq&statsPeriod=14d Also fix the timeout of clickhouse, which was incorrectly set much too long.
1 parent fcf0d35 commit dbb89bf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docker-compose.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,9 @@ services:
190190
healthcheck:
191191
<<: *healthcheck_defaults
192192
test: ["CMD-SHELL", "nc -z localhost 9092"]
193+
interval: 10s
194+
timeout: 10s
195+
retries: 30
193196
clickhouse:
194197
<<: *restart_policy
195198
image: clickhouse-self-hosted-local
@@ -223,9 +226,9 @@ services:
223226
# https://github.com/getsentry/self-hosted/issues/1537
224227
"http_proxy='' wget -nv -t1 --spider 'http://localhost:8123/' || exit 1",
225228
]
226-
interval: 3s
227-
timeout: 600s
228-
retries: 200
229+
interval: 10s
230+
timeout: 10s
231+
retries: 30
229232
geoipupdate:
230233
image: "maxmindinc/geoipupdate:v4.7.1"
231234
# Override the entrypoint in order to avoid using envvars for config.

0 commit comments

Comments
 (0)