stanley-king 3 年 前
コミット
e6701e031a
1 ファイル変更2 行追加2 行削除
  1. 2 2
      server/send_refillex.php

+ 2 - 2
server/send_refillex.php

@@ -28,7 +28,7 @@ Log::record(__FILE__ . " 3",Log::DEBUG);
 class RefillSender
 {
     const co_routines = 1000;
-    const co_orders = 10;
+    const co_orders = 1000;
 
     public function send($index)
     {
@@ -46,7 +46,7 @@ class RefillSender
     {
         $count = self::co_routines;
         $pThis = $this;
-        for ($i = 1000;$i < 1000 + $count; $i++)
+        for ($i = 0;$i < $count; $i++)
         {
             Log::record(__FUNCTION__ . " index={$i}",Log::DEBUG);
             go(function () use ($pThis,$i) {