Skip to content

[5.8] Add retryAfter in Notification and Mailable object#28484

Merged
taylorotwell merged 2 commits into
laravel:5.8from
arxeiss:retryAfterToNotificationsAndMailable
May 11, 2019
Merged

[5.8] Add retryAfter in Notification and Mailable object#28484
taylorotwell merged 2 commits into
laravel:5.8from
arxeiss:retryAfterToNotificationsAndMailable

Conversation

@arxeiss

@arxeiss arxeiss commented May 10, 2019

Copy link
Copy Markdown
Contributor

Since PR #28265 is merged, programmer can set retryAfter in Job property or method. However this is not possible to do with Notification and Mailable class. So I added simple methods, which do this.

Basically it acts as any other job, so retryAfter() method in SendQueuedNotifications and SendQueuedMailable check existence of retryAfter property or method in notification or mail class.

I tried to find tests to modify, but it looks there aren't any. Am I correct?

@arxeiss arxeiss changed the title Add possibility to set retryAfter in Notification and Mailable object [5.8] Add retryAfter in Notification and Mailable object May 11, 2019
@taylorotwell taylorotwell merged commit 08f2555 into laravel:5.8 May 11, 2019
@arxeiss arxeiss deleted the retryAfterToNotificationsAndMailable branch May 11, 2019 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants