chore(rabbitmq): fix performance avoiding periodic healthchecks

This commit is contained in:
Daniel Herrero García 2023-08-04 09:36:17 +02:00 committed by daniel-herrero
parent f696137e2a
commit 05fdc62ac6
2 changed files with 10 additions and 18 deletions

View File

@ -1,6 +1,10 @@
# Changelog
## 6.7.1 (Unreleased)
## 6.7.2 (Unreleased)
## 6.7.1 (2023-08-08)
- Fixes high CPU peaks for rabbitmq services
## 6.7.0 (2023-06-12)

View File

@ -64,9 +64,9 @@ services:
taiga-db:
condition: service_healthy
taiga-events-rabbitmq:
condition: service_healthy
condition: service_started
taiga-async-rabbitmq:
condition: service_healthy
condition: service_started
taiga-async:
image: taigaio/taiga-back:latest
@ -79,9 +79,9 @@ services:
taiga-db:
condition: service_healthy
taiga-events-rabbitmq:
condition: service_healthy
condition: service_started
taiga-async-rabbitmq:
condition: service_healthy
condition: service_started
taiga-async-rabbitmq:
image: rabbitmq:3.8-management-alpine
@ -91,12 +91,6 @@ services:
RABBITMQ_DEFAULT_PASS: "${RABBITMQ_PASS}"
RABBITMQ_DEFAULT_VHOST: "${RABBITMQ_VHOST}"
hostname: "taiga-async-rabbitmq"
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 2s
timeout: 15s
retries: 5
start_period: 3s
volumes:
- taiga-async-rabbitmq-data:/var/lib/rabbitmq
networks:
@ -124,7 +118,7 @@ services:
- taiga
depends_on:
taiga-events-rabbitmq:
condition: service_healthy
condition: service_started
taiga-events-rabbitmq:
image: rabbitmq:3.8-management-alpine
@ -134,12 +128,6 @@ services:
RABBITMQ_DEFAULT_PASS: "${RABBITMQ_PASS}"
RABBITMQ_DEFAULT_VHOST: "${RABBITMQ_VHOST}"
hostname: "taiga-events-rabbitmq"
healthcheck:
test: rabbitmq-diagnostics -q ping
interval: 2s
timeout: 15s
retries: 5
start_period: 3s
volumes:
- taiga-events-rabbitmq-data:/var/lib/rabbitmq
networks: