diff --git a/events.md b/events.md index 9671f427bc..e174106fd4 100644 --- a/events.md +++ b/events.md @@ -555,7 +555,7 @@ class SendShipmentNotification implements ShouldQueue If one of your queued listeners is encountering an error, you likely do not want it to keep retrying indefinitely. Therefore, Laravel provides various ways to specify how many times or for how long a listener may be attempted. -You may define a `$tries` property on your listener class to specify how many times the listener may be attempted before it is considered to have failed: +You may define a `tries` property on your listener class to specify how many times the listener may be attempted before it is considered to have failed: ```php #### Specifying Queued Listener Timeout -Often, you know roughly how long you expect your queued listeners to take. For this reason, Laravel allows you to specify a "timeout" value. If a listener is processing for longer than the number of seconds specified by the timeout value, the worker processing the listener will exit with an error. You may define the maximum number of seconds a listener should be allowed to run by defining a `$timeout` property on your listener class: +Often, you know roughly how long you expect your queued listeners to take. For this reason, Laravel allows you to specify a "timeout" value. If a listener is processing for longer than the number of seconds specified by the timeout value, the worker processing the listener will exit with an error. You may define the maximum number of seconds a listener should be allowed to run by defining a `timeout` property on your listener class: ```php