mirror of
https://github.com/ansible/awx.git
synced 2026-04-05 10:09:20 -02:30
Merge pull request #3518 from jbradberry/isolated-heartbeat
Make use of user-defined settings for defining the isolated nodes heartbeat Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -143,6 +143,15 @@ except ImportError:
|
||||
traceback.print_exc()
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
CELERYBEAT_SCHEDULE.update({ # noqa
|
||||
'isolated_heartbeat': {
|
||||
'task': 'awx.main.tasks.awx_isolated_heartbeat',
|
||||
'schedule': timedelta(seconds=AWX_ISOLATED_PERIODIC_CHECK), # noqa
|
||||
'options': {'expires': AWX_ISOLATED_PERIODIC_CHECK * 2}, # noqa
|
||||
}
|
||||
})
|
||||
|
||||
CLUSTER_HOST_ID = socket.gethostname()
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user