mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 08:15:14 +00:00
Added a sleep call for a second before establishing another connection.
This commit is contained in:
parent
0afb87663f
commit
a5b70a5cbd
@ -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…
Reference in New Issue
Block a user