mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-18 04:42:40 +01:00
Changed default timeout of smtp from 10s to 60s.
Summary: Our smtp server responded slowly sometimes and reached the timeout, but actually it had sent the email successfully. The mta then retried and sent duplicated emails. So changed to a bigger default value. Test Plan: Tested in our deployed and it worked Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D8852
This commit is contained in:
parent
0f2ec96275
commit
48f6bd9fea
1 changed files with 1 additions and 1 deletions
2
externals/phpmailer/class.phpmailer.php
vendored
2
externals/phpmailer/class.phpmailer.php
vendored
|
@ -221,7 +221,7 @@ class PHPMailer {
|
|||
* This function will not work with the win32 version.
|
||||
* @var int
|
||||
*/
|
||||
public $Timeout = 10;
|
||||
public $Timeout = 60;
|
||||
|
||||
/**
|
||||
* Sets SMTP class debugging on or off.
|
||||
|
|
Loading…
Reference in a new issue