Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#730 Implement clustering for ES, set retrie…
Browse files Browse the repository at this point in the history
…s and sniffing
  • Loading branch information
rkorytkowski committed Aug 22, 2023
1 parent d452d39 commit 5b222d7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions core/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,12 @@
'hosts': ES_HOSTS.split(',') if ES_HOSTS else [ES_HOST + ':' + ES_PORT],
'use_ssl': ES_SCHEME == 'https',
'verify_certs': ES_SCHEME == 'https',
'sniff_on_connection_fail': True,
'sniff_on_start': True,
'sniffer_timeout': 60,
'sniff_timeout': 10,
'max_retries': 3,
'retry_on_timeout': True
},
}

Expand Down

0 comments on commit 5b222d7

Please sign in to comment.