Skip to content

Commit 7e51f67

Browse files
authored
Merge pull request #10 from samuelcolvin/use-sigusr1
Use sigusr1
2 parents a61f3f2 + ac420ec commit 7e51f67

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

HISTORY.rst

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
History
44
-------
55

6-
v0.3.2 (TBD)
6+
v0.3.2 (2017-01-24)
77
...................
88
* improved solution for preventing new jobs starting when the worker is about to stop
9+
* switch ``SIGRTMIN`` > ``SIGUSR1`` to work with mac
910

1011
v0.3.1 (2017-01-20)
1112
...................

arq/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22

33
__all__ = ['VERSION']
44

5-
VERSION = StrictVersion('0.3.2a1')
5+
VERSION = StrictVersion('0.3.2')

arq/worker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class BadJob(Exception):
3636

3737

3838
# special signal sent by the main process in case the worker process hasn't received a signal (eg. SIGTERM or SIGINT)
39-
SIG_PROXY = signal.SIGRTMIN + 7
39+
SIG_PROXY = signal.SIGUSR1
4040

4141

4242
class BaseWorker(RedisMixin):

0 commit comments

Comments
 (0)