Skip to content

Commit a21b234

Browse files
authored
Clarify SQS driver limitations and support
Updated installation documentation to reflect SQS support for timer methods.
1 parent 429c5d6 commit a21b234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Each queue driver has its own [prerequisites](https://laravel.com/docs/12.x/queu
2222

2323
Laravel Workflow also requires a cache driver that supports [locks](https://laravel.com/docs/12.x/cache#atomic-locks).
2424

25-
> NOTE: The Amazon SQS queue driver in Laravel has a limitation of 15 minutes (900 seconds) for the maximum delay of a message. This means that if a workflow uses the `WorkflowStub::timer()` or `WorkflowStub::awaitWithTimeout()` method with a value greater than 900 seconds, it will not be able to hibernate for that long and the workflow will fail. This is a limitation of the SQS driver and not a limitation of Laravel Workflow itself. If you are using Laravel Workflow with the SQS driver then you should be aware of this limitation and avoid using values greater than 900 seconds. Alternatively, you can use a different queue driver that does not have this limitation, such as the Redis driver.
25+
> SQS Support: `WorkflowStub::timer()` or `WorkflowStub::awaitWithTimeout()` now work with any duration when using the Amazon SQS queue driver. Laravel Workflow automatically handles SQS’s delay limitation transparently.
2626
2727
## Installing Laravel Workflow
2828

0 commit comments

Comments
 (0)