Browse Source

send mail delay && fetch admin

Tokumeikoi 5 years ago
parent
commit
c4868a9c48
2 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Jobs/SendEmailJob.php
  2. 0 0
      public/assets/admin/umi.js

+ 1 - 0
app/Jobs/SendEmailJob.php

@@ -22,6 +22,7 @@ class SendEmailJob implements ShouldQueue
      */
     public function __construct($params)
     {
+        $this->delay(now()->addSecond(2));
         $this->onQueue('send_email');
         $this->params = $params;
     }

File diff suppressed because it is too large
+ 0 - 0
public/assets/admin/umi.js


Some files were not shown because too many files changed in this diff