Skip to content

Commit a0a649d

Browse files
author
Miguel Manso
committed
Spacing fixes
1 parent 9587ab1 commit a0a649d

2 files changed

Lines changed: 26 additions & 26 deletions

File tree

docs/configuration.rst

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -59,31 +59,31 @@ Queue Options
5959
Each queue can have their own options that determine how messages are published or received.
6060
The options and their descriptions are listed below.
6161

62-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
63-
| Option | Description | Default Value |
64-
+=================================+===========================================================================================+===============+
65-
| ``queue_name`` | The name used to describe the queue on the Provider's side | ``null`` |
66-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
67-
| ``push_notifications`` | Whether or not to POST notifications to subscribers of a Queue | ``false`` |
68-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
69-
| ``notification_retries`` | How many attempts notifications are resent in case of errors - if supported | ``3`` |
70-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
71-
| ``message_delay`` | Time in seconds before a published Message is available to be read in a Queue | ``0`` |
72-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
73-
| ``message_timeout`` | Time in seconds a worker has to delete a Message before it is available to other workers | ``30`` |
74-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
75-
| ``message_expiration`` | Time in seconds that Messages may remain in the Queue before being removed | ``604800`` |
76-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
77-
| ``messages_to_receive`` | Maximum amount of messages that can be received when polling the queue | ``1`` |
78-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
79-
| ``receive_wait_time`` | If supported, time in seconds to leave the polling request open - for long polling | ``3`` |
80-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
81-
| ``fifo`` | If supported (only aws), sets queue into FIFO mode | ``false`` |
82-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
83-
| ``content_based_deduplication`` | If supported (only aws), turns on automatic deduplication id base on the message content | ``false`` |
84-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
85-
| ``subscribers`` | An array of Subscribers, containing an ``endpoint`` and ``protocol`` | ``empty`` |
86-
+---------------------------------+-------------------------------------------------------------------------------------------+---------------+
62+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
63+
| Option | Description | Default Value |
64+
+=================================+============================================================================================+===============+
65+
| ``queue_name`` | The name used to describe the queue on the Provider's side | ``null`` |
66+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
67+
| ``push_notifications`` | Whether or not to POST notifications to subscribers of a Queue | ``false`` |
68+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
69+
| ``notification_retries`` | How many attempts notifications are resent in case of errors - if supported | ``3`` |
70+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
71+
| ``message_delay`` | Time in seconds before a published Message is available to be read in a Queue | ``0`` |
72+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
73+
| ``message_timeout`` | Time in seconds a worker has to delete a Message before it is available to other workers | ``30`` |
74+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
75+
| ``message_expiration`` | Time in seconds that Messages may remain in the Queue before being removed | ``604800`` |
76+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
77+
| ``messages_to_receive`` | Maximum amount of messages that can be received when polling the queue | ``1`` |
78+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
79+
| ``receive_wait_time`` | If supported, time in seconds to leave the polling request open - for long polling | ``3`` |
80+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
81+
| ``fifo`` | If supported (only aws), sets queue into FIFO mode | ``false`` |
82+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
83+
| ``content_based_deduplication`` | If supported (only aws), turns on automatic deduplication id based on the message content | ``false`` |
84+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
85+
| ``subscribers`` | An array of Subscribers, containing an ``endpoint`` and ``protocol`` | ``empty`` |
86+
+---------------------------------+--------------------------------------------------------------------------------------------+---------------+
8787

8888
Symfony Application as a Subscriber
8989
-----------------------------------

src/Provider/AwsProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ public function publish(array $message, array $options = [])
244244
$arguments['MessageDeduplicationId'] = $options['message_deduplication_id'];
245245
} elseif ($options['content_based_deduplication'] !== true) {
246246
// If none is supplied and option "content_based_deduplication" is not set, generate default
247-
$arguments['MessageDeduplicationId'] = hash('sha256',json_encode($message));
247+
$arguments['MessageDeduplicationId'] = hash('sha256', json_encode($message));
248248
}
249249

250250
$arguments['MessageGroupId'] = $this->getNameWithPrefix();

0 commit comments

Comments
 (0)