mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Улучшено логгирование метрик в statsd
This commit is contained in:
@ -47,6 +47,7 @@ class SendPasswordRecoveryEmail implements RetryableJobInterface {
|
||||
* @throws \common\emails\exceptions\CannotSendEmailException
|
||||
*/
|
||||
public function execute($queue) {
|
||||
Yii::$app->statsd->inc('queue.sendPasswordRecovery.attempt');
|
||||
$params = new ForgotPasswordParams($this->username, $this->code, $this->link);
|
||||
$to = EmailHelper::buildTo($this->username, $this->email);
|
||||
$template = new ForgotPasswordEmail($to, $this->locale, $params);
|
||||
|
Reference in New Issue
Block a user