Skip to content

Commit

Permalink
gc_mem_caches
Browse files Browse the repository at this point in the history
  • Loading branch information
walkor authored Apr 28, 2022
1 parent da764f8 commit a6f7cda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,9 @@ public function connect()
}
if (empty($this->_queue)) {
$this->_queue = [];
gc_mem_caches();
if (function_exists('gc_mem_caches')) {
gc_mem_caches();
}
}
$success = $type === '-' || $type === '!' ? false : true;
$exception = false;
Expand Down

0 comments on commit a6f7cda

Please sign in to comment.