From 09de1fa3352930dd8bacdb2d7eaa817ef9b2b906 Mon Sep 17 00:00:00 2001 From: Fabian Martin Date: Wed, 5 Jul 2017 23:38:03 +0200 Subject: [PATCH] graceful_max_execution added to README --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 909b5da..8ad2cdc 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,11 @@ $app->register(new RabbitServiceProvider(), [ 'connection' => 'default', 'exchange_options' => ['name' => 'a_exchange','type' => 'topic'], 'queue_options' => ['name' => 'a_queue', 'routing_keys' => ['foo.#']], - 'callback' => 'your_consumer_service' + 'callback' => 'your_consumer_service', + 'graceful_max_execution' => [ + 'timeout' => 900, + 'exit_code' => 10, + ], ] ] ]);