Skip to content

Commit

Permalink
graceful_max_execution added to README
Browse files Browse the repository at this point in the history
  • Loading branch information
FabianMartin committed Jul 5, 2017
1 parent 1a49a96 commit 09de1fa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
]
]
]);
Expand Down

0 comments on commit 09de1fa

Please sign in to comment.