Avoid Celery/RabbitMQ "connection reset" errors [#5609].

This change starts Celery only after RabbitMQ is available. It also returns the
unnecessarily low BROKER_HEARTBEAT setting to default of 120.0 to help prevent
connections being reset on machines under load.
This commit is contained in:
Fernando Gutierrez
2020-05-12 12:25:10 +10:00
committed by Ben Sturmfels
parent 3d0c2a773b
commit 243354b65e
3 changed files with 2 additions and 1 deletions

View File

@@ -528,6 +528,7 @@ environment's setup:
# Set the WorkingDirectory and Environment values to match your environment.
[Unit]
Description=MediaGoblin Celeryd
After=rabbitmq-server.service
[Service]
User=mediagoblin