Skip to content

Commit

Permalink
Adding a potential fix from StackOverflow
Browse files Browse the repository at this point in the history
  • Loading branch information
giovannipizzi committed Mar 8, 2018
1 parent 46f277f commit d738c14
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions aiida/daemon/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@
from aiida.common.exceptions import ConfigurationError
from aiida.daemon.timestamps import set_daemon_timestamp,get_last_daemon_timestamp

# From https://github.com/celery/celery/issues/2615
# Recent versions of billiard have TERMSIGS_DEFAULT as a set() while 3.3.0.23 uses a tuple()
import billiard.common
TERMSIGS_CUSTOM = list(billiard.common.TERMSIGS_DEFAULT)
TERMSIGS_CUSTOM.remove('SIGUSR2')
billiard.common.TERMSIGS_DEFAULT = type(billiard.common.TERMSIGS_DEFAULT)(TERMSIGS_CUSTOM)


DAEMON_INTERVALS_SUBMIT = 10
DAEMON_INTERVALS_RETRIEVE = 10
DAEMON_INTERVALS_UPDATE = 30
Expand Down

0 comments on commit d738c14

Please sign in to comment.