perf: optimize the rabbitmq health check (#3037)
### Description Running `rabbitmq-diagnostics` every 30s is a resource intensive operation wasting cpu cycles.
This commit is contained in:
parent
97b2f0e257
commit
9684214425
@ -16,7 +16,7 @@ services:
|
||||
RABBITMQ_DEFAULT_USER: ${RABBITMQ_DEFAULT_USER:-libretime}
|
||||
RABBITMQ_DEFAULT_PASS: ${RABBITMQ_DEFAULT_PASS:-libretime} # Change me !
|
||||
healthcheck:
|
||||
test: rabbitmq-diagnostics -q ping
|
||||
test: nc -z 127.0.0.1 5672
|
||||
|
||||
playout:
|
||||
image: ghcr.io/libretime/libretime-playout:${LIBRETIME_VERSION:-latest}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user