Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15333433
D18124.id43610.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
874 B
Referenced Files
None
Subscribers
None
D18124.id43610.diff
View Options
diff --git a/src/applications/metamta/storage/PhabricatorMetaMTAMail.php b/src/applications/metamta/storage/PhabricatorMetaMTAMail.php
--- a/src/applications/metamta/storage/PhabricatorMetaMTAMail.php
+++ b/src/applications/metamta/storage/PhabricatorMetaMTAMail.php
@@ -372,16 +372,16 @@
}
$editor->save();
- // Queue a task to send this mail.
- $mailer_task = PhabricatorWorker::scheduleTask(
- 'PhabricatorMetaMTAWorker',
- $this->getID(),
- array(
- 'priority' => PhabricatorWorker::PRIORITY_ALERTS,
- ));
-
$this->saveTransaction();
+ // Queue a task to send this mail.
+ $mailer_task = PhabricatorWorker::scheduleTask(
+ 'PhabricatorMetaMTAWorker',
+ $this->getID(),
+ array(
+ 'priority' => PhabricatorWorker::PRIORITY_ALERTS,
+ ));
+
return $result;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 9, 2:21 AM (1 d, 2 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7385796
Default Alt Text
D18124.id43610.diff (874 B)
Attached To
Mode
D18124: Queue a worker task to send mail only after committing the mail transaction
Attached
Detach File
Event Timeline
Log In to Comment