File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,8 @@ def connect(self, init_documents):
1515 raise ImproperlyConfigured ('You must set "SECURITY_ELASTICSEARCH_DATABASE" setting' )
1616
1717 connection .connection = connections .create_connection (
18- ** settings .ELASTICSEARCH_DATABASE
18+ ** settings .ELASTICSEARCH_DATABASE ,
19+ timeout = settings .ELASTICSEARCH_TIMEOUT ,
1920 )
2021 if init_documents :
2122 self .init_documents ()
Original file line number Diff line number Diff line change 5959 'ELASTICSEARCH_CLEAN_LOGS_DELETE_ATTEMPTS' : 10 ,
6060 'ELASTICSEARCH_CLEAN_LOGS_DELETE_ATTEMPT_SLEEP' : 5 ,
6161 'ELASTICSEARCH_MAX_NUMBER_OF_TERMS' : 65536 ,
62+ 'ELASTICSEARCH_TIMEOUT' : 10 ,
6263 'SQL_CLEAN_LOGS_DELETE_BATCH_SIZE' : 1000 ,
6364 'BACKEND_WRITERS' : None ,
6465 'BACKEND_READER' : None ,
You can’t perform that action at this time.
0 commit comments