This commit is contained in:
2021-03-29 14:02:47 +08:00
parent f5c68e808b
commit e0267a3cb8
+1 -1
View File
@@ -76,7 +76,7 @@ class Channel extends Component
* @return mixed
* @throws Exception
*/
public function pop(int|float $timeout, Closure $closure, string $name = '', int $length = 9999): mixed
public function pop(int|float $timeout, Closure $closure, string $name = '', int $length = 100): mixed
{
if (($channel = $this->channelInit($length, $name)) == false) {
return $this->addError('Channel is full.');