|
@@ -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) {
|