File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -354,7 +354,6 @@ private function registerSigHandlers()
354
354
pcntl_signal (SIGUSR1 , array ($ this , 'killChild ' ));
355
355
pcntl_signal (SIGUSR2 , array ($ this , 'pauseProcessing ' ));
356
356
pcntl_signal (SIGCONT , array ($ this , 'unPauseProcessing ' ));
357
- pcntl_signal (SIGPIPE , array ($ this , 'reestablishRedisConnection ' ));
358
357
$ this ->logger ->log (Psr \Log \LogLevel::DEBUG , 'Registered signals ' );
359
358
}
360
359
@@ -377,16 +376,6 @@ public function unPauseProcessing()
377
376
$ this ->paused = false ;
378
377
}
379
378
380
- /**
381
- * Signal handler for SIGPIPE, in the event the redis connection has gone away.
382
- * Attempts to reconnect to redis, or raises an Exception.
383
- */
384
- public function reestablishRedisConnection ()
385
- {
386
- $ this ->logger ->log (Psr \Log \LogLevel::NOTICE , 'SIGPIPE received; attempting to reconnect ' );
387
- Resque::redis ()->establishConnection ();
388
- }
389
-
390
379
/**
391
380
* Schedule a worker for shutdown. Will finish processing the current job
392
381
* and when the timeout interval is reached, the worker will shut down.
You can’t perform that action at this time.
0 commit comments