Skip to content

Commit

Permalink
Release v3.1.13 (#6596)
Browse files Browse the repository at this point in the history
* Update quick-start.md (#6585)

* Upgrade docs for command (#6587)

* Added warn comments for async queue message. (#6592)

---------

Co-authored-by: Kelvin Romero <[email protected]>
Co-authored-by: guandeng <[email protected]>
  • Loading branch information
3 people authored Mar 14, 2024
1 parent 9b3789c commit bac68ba
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Annotation/AsyncQueueMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
use Attribute;
use Hyperf\Di\Annotation\AbstractAnnotation;

/**
* Don't call the methods with this annotation in async queue environment.
* Because the execution or delivery of a message depends on whether it is currently in an async queue environment,
* re delivery in an async queue environment will be treated as a direct execution of the message.
*/
#[Attribute(Attribute::TARGET_CLASS | Attribute::TARGET_METHOD)]
class AsyncQueueMessage extends AbstractAnnotation
{
Expand Down

0 comments on commit bac68ba

Please sign in to comment.