What's Changed
- Add --delay to cqrs_sync to pause between batches by @pcaro in #186
- Release the RabbitMQ producer connection when the request finishes by @pcaro in #185
Full Changelog: 3.1.0...3.2.0
Upgrade notes
- Request threads now close their producer connection when the response is done (
request_finished). SetPRODUCER_RELEASE_ON_REQUEST_FINISHED = Falseon the configured transport to keep the 3.1.0 behaviour. RabbitMQTransport.PRODUCER_IDLE_MAX_SECONDSis removed: the idle window is nowPRODUCER_ASSUMED_ALIVE_HEARTBEATS(1.5) times the heartbeat negotiated with the broker.- Threads that do not serve requests (Celery workers, daemons) should call
RabbitMQTransport.clean_connection()at the end of each unit of work. Seedocs/transports.md.