Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15393670
D19084.id45744.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
628 B
Referenced Files
None
Subscribers
None
D19084.id45744.diff
View Options
diff --git a/src/applications/herald/worker/HeraldWebhookWorker.php b/src/applications/herald/worker/HeraldWebhookWorker.php
--- a/src/applications/herald/worker/HeraldWebhookWorker.php
+++ b/src/applications/herald/worker/HeraldWebhookWorker.php
@@ -32,6 +32,13 @@
$status));
}
+ // If we're in silent mode, permanently fail the webhook request and then
+ // return to complete this task.
+ if (PhabricatorEnv::getEnvConfig('phabricator.silent')) {
+ $this->failRequest($request, 'hook', 'silent');
+ return;
+ }
+
$hook = $request->getWebhook();
if ($hook->isDisabled()) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 16, 10:59 PM (1 d, 18 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7318459
Default Alt Text
D19084.id45744.diff (628 B)
Attached To
Mode
D19084: When "phabricator.silent" is enabled, don't call webhooks
Attached
Detach File
Event Timeline
Log In to Comment