diff --git a/lib/Redisent/Redisent.php b/lib/Redisent/Redisent.php index 727f16b..92ccd02 100644 --- a/lib/Redisent/Redisent.php +++ b/lib/Redisent/Redisent.php @@ -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++; }