Skip to content

To support additional redis options#145

Open
TheWangDaolong wants to merge 1 commit into
cameronmaske:masterfrom
TheWangDaolong:master
Open

To support additional redis options#145
TheWangDaolong wants to merge 1 commit into
cameronmaske:masterfrom
TheWangDaolong:master

Conversation

@TheWangDaolong

Copy link
Copy Markdown

By making this change, it'll be easier to set redis options such as health_check_interval.

celery.conf.ONCE = {
  'backend': 'celery_once.backends.Redis',
  'settings': {
    'url': 'redis://localhost:6379/0',
    'default_timeout': 60 * 60,
    'blocking': True,
    'blocking_timeout': 30,
    **'options':{
        'health_check_interval':25
    }**
  }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant