visuddhinanda hace 3 años
padre
commit
9a3c1e0c13
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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);
             }
 		}
 		//删除旧数据