From a154ef0bd9c727aaaeaa414d00ca82aa0908a25e Mon Sep 17 00:00:00 2001 From: Vincent Driessen Date: Fri, 25 Nov 2011 01:11:14 +0100 Subject: [PATCH] Remove comment. This ain't the right way to terminate when blocking by pop. --- rq/worker.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/rq/worker.py b/rq/worker.py index 467dbcb..c958d49 100644 --- a/rq/worker.py +++ b/rq/worker.py @@ -212,9 +212,6 @@ class Worker(object): return self.log.warning('Warm shut down. Press Ctrl+C again for a cold shutdown.') - - #if self.state == 'idle': - # raise SystemExit() self._stopped = True self.log.debug('Stopping after current horse is finished.')