diff --git a/lib/Resque/Worker.php b/lib/Resque/Worker.php index 3e7eefc..a180d27 100644 --- a/lib/Resque/Worker.php +++ b/lib/Resque/Worker.php @@ -385,7 +385,8 @@ class Resque_Worker * Signal handler for SIGPIPE, in the event the redis connection has gone away. * Attempts to reconnect to redis, or raises an Exception. */ - public function reestablishRedisConnection() { + public function reestablishRedisConnection() + { $this->log('SIGPIPE received; attempting to reconnect'); Resque::redis()->establishConnection(); }