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.
* Duncan Paterson
* Elrond of Samba TNG
* Emily O'Leary
+* Fernando Gutierrez
* Gabi Thume
* Gabriel Saldana
* Greg Grossmeier
# Set the WorkingDirectory and Environment values to match your environment.
[Unit]
Description=MediaGoblin Celeryd
+ After=rabbitmq-server.service
[Service]
User=mediagoblin
'schedule': datetime.timedelta(minutes=frequency),
}
}
- celery_settings['BROKER_HEARTBEAT'] = 1
return celery_settings