mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +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.
|
* Trigger functions.
|
||||||
*/
|
*/
|
||||||
$queueForFunctions
|
if (!$queueForEvents->isPaused()) {
|
||||||
->from($queueForEvents)
|
$queueForFunctions
|
||||||
->trigger();
|
->from($queueForEvents)
|
||||||
|
->trigger();
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Trigger webhooks.
|
* Trigger webhooks.
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue