roach-php/core

Parameter type requirements

ZhangChengLin opened this issue · 1 comments

public int $requestDelay = 1;

The $requestDelay attribute is expected to support expressions, and the target needs to be a specified range of random values ​​(including non-integer numbers).


public function setDelay(int $delay): self;

The parameter type of setDelay is expected to support non-integer formats.

By the way, why is the default concurrency here so high?

public int $concurrency = 25,