mirror of
https://github.com/idanoo/php-resque
synced 2025-06-30 21:22:20 +00:00
Added a sleep call for a second before establishing another connection.
This commit is contained in:
parent
0afb87663f
commit
a5b70a5cbd
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ class Redisent {
|
|||
throw new Exception('Failed to write entire command to stream');
|
||||
}else{
|
||||
fclose($this->__sock);
|
||||
sleep(1);
|
||||
$this->establishConnection();
|
||||
$reconnects++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue