visuddhinanda il y a 2 ans
Parent
commit
9a3c1e0c13
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  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);
             }
 		}
 		//删除旧数据