Skip to content

Commit

Permalink
Merge pull request #12 from xiaocaigua/master
Browse files Browse the repository at this point in the history
fix bug
  • Loading branch information
kiss291323003 authored May 23, 2019
2 parents f483ad4 + 3a9711b commit 9eecf24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pool/AbstractPool.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public function intervalCheck()
public function keepMin(?int $num = null): int
{
if($this->createdNum < $num){
$left = $num = $this->createdNum;
$left = $num - $this->createdNum;
while ($left > 0 ){
$this->initObject();
$left--;
Expand Down

0 comments on commit 9eecf24

Please sign in to comment.