Skip to content

Commit 4666d44

Browse files
authored
fix: adjust file healthcheck durations (#3874)
1 parent 43d4c5d commit 4666d44

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ HEALTHCHECK_RETRIES=10
2222
HEALTHCHECK_START_PERIOD=10s
2323
HEALTHCHECK_FILE_INTERVAL=60s
2424
HEALTHCHECK_FILE_TIMEOUT=10s
25-
HEALTHCHECK_FILE_RETRIES=1
26-
HEALTHCHECK_FILE_START_PERIOD=180s
25+
HEALTHCHECK_FILE_RETRIES=3
26+
HEALTHCHECK_FILE_START_PERIOD=600s
2727
# Caution: Raising max connections of postgres increases CPU and RAM usage
2828
# see https://github.com/getsentry/self-hosted/pull/2740 for more information
2929
POSTGRES_MAX_CONNECTIONS=100

action.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,17 @@ runs:
142142
volumes: |
143143
sentry-kafka
144144
145+
- name: Setup swapfile
146+
shell: bash
147+
if: matrix.os == 'ubuntu-24.04'
148+
run: |
149+
sudo fallocate -l 16G /swapfile
150+
sudo chmod 600 /swapfile
151+
sudo mkswap /swapfile
152+
sudo swapon /swapfile
153+
sudo swapon --show
154+
free -h
155+
145156
- name: Integration Test
146157
shell: bash
147158
run: |

0 commit comments

Comments
 (0)