Skip to content

Commit

Permalink
Only flush entries of the currently selected DB
Browse files Browse the repository at this point in the history
fix #167
  • Loading branch information
tsteur authored Dec 21, 2022
1 parent e46fb97 commit 94b2dc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Queue/Backend/Redis.php
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ public function get($key)
public function flushAll()
{
$this->connectIfNeeded();
$this->redis->flushAll();
$this->redis->flushDB();
}

private function connectIfNeeded()
Expand Down

0 comments on commit 94b2dc7

Please sign in to comment.