mirror of https://github.com/rq/rq.git
Remove comment.
This ain't the right way to terminate when blocking by pop.
This commit is contained in:
parent
253f1752b8
commit
a154ef0bd9
|
@ -212,9 +212,6 @@ class Worker(object):
|
||||||
return
|
return
|
||||||
|
|
||||||
self.log.warning('Warm shut down. Press Ctrl+C again for a cold shutdown.')
|
self.log.warning('Warm shut down. Press Ctrl+C again for a cold shutdown.')
|
||||||
|
|
||||||
#if self.state == 'idle':
|
|
||||||
# raise SystemExit()
|
|
||||||
self._stopped = True
|
self._stopped = True
|
||||||
self.log.debug('Stopping after current horse is finished.')
|
self.log.debug('Stopping after current horse is finished.')
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue