瀏覽代碼

sleep(1);

visuddhinanda 2 年之前
父節點
當前提交
9a3c1e0c13
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      app/Console/Commands/UpgradeCompound.php

+ 3 - 0
app/Console/Commands/UpgradeCompound.php

@@ -163,6 +163,9 @@ class UpgradeCompound extends Command
                 $new->creator_id = 1;
                 $new->flag = 1;
                 $new->save();
+            }
+            if(env('APP_ENV','local') !== 'local'){
+                sleep(1);
             }
 		}
 		//删除旧数据