Skip to content

Commit

Permalink
Merge pull request #10 from samuelcolvin/use-sigusr1
Browse files Browse the repository at this point in the history
Use sigusr1
  • Loading branch information
samuelcolvin authored Jan 24, 2017
2 parents a61f3f2 + ac420ec commit 7e51f67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
History
-------

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

v0.3.1 (2017-01-20)
...................
Expand Down
2 changes: 1 addition & 1 deletion arq/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__all__ = ['VERSION']

VERSION = StrictVersion('0.3.2a1')
VERSION = StrictVersion('0.3.2')
2 changes: 1 addition & 1 deletion arq/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class BadJob(Exception):


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


class BaseWorker(RedisMixin):
Expand Down

0 comments on commit 7e51f67

Please sign in to comment.