Skip to content

Commit a80b5c6

Browse files
authored
Fixed bug that ConstantFrequency cannot work when using redis. (#6099)
* Fixed bug that `ConstantFrequency` cannot work when using `redis`. * Update CHANGELOG-3.0.md
1 parent 65ec6cb commit a80b5c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Pool/RedisPool.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(ContainerInterface $container, protected string $nam
3737
$this->config = $config->get($key);
3838
$options = Arr::get($this->config, 'pool', []);
3939

40-
$this->frequency = make(Frequency::class);
40+
$this->frequency = make(Frequency::class, [$this]);
4141

4242
parent::__construct($container, $options);
4343
}

0 commit comments

Comments
 (0)