mirror of
https://github.com/appwrite/appwrite
synced 2026-05-15 21:19:19 +00:00
Merge pull request #8526 from appwrite/lohanidamodar-patch-4
Trigger functions event only if event is not paused
This commit is contained in:
commit
899ffd4086
1 changed files with 5 additions and 4 deletions
|
|
@ -556,10 +556,11 @@ App::shutdown()
|
|||
/**
|
||||
* Trigger functions.
|
||||
*/
|
||||
$queueForFunctions
|
||||
->from($queueForEvents)
|
||||
->trigger();
|
||||
|
||||
if (!$queueForEvents->isPaused()) {
|
||||
$queueForFunctions
|
||||
->from($queueForEvents)
|
||||
->trigger();
|
||||
}
|
||||
/**
|
||||
* Trigger webhooks.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue