2
0
visuddhinanda 1 жил өмнө
parent
commit
4b2ce691f4

+ 1 - 1
api-v8/app/Console/Commands/UpgradeCompound.php

@@ -286,7 +286,7 @@ class UpgradeCompound extends Command
                 }
             }
 
-            if (count($wordIndex) % 100 === 0) {
+            if (count($wordIndex) % 2 === 0) {
                 //每100个单词上传一次
                 $ok = $this->upload($wordIndex, $result, $this->option('api'));
                 if (!$ok) {