Skip to content

Commit 3729545

Browse files
author
qlands
committed
black
1 parent f1205da commit 3729545

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

elasticfeeds/manager/manager.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,13 @@ def create_connection(self):
213213
cnt_params["url_prefix"] = self.url_prefix
214214
if self.use_ssl:
215215
cnt_params["use_ssl"] = self.use_ssl
216-
connection = Elasticsearch([cnt_params], max_retries=100, retry_on_timeout=True, timeout=700, request_timeout=800)
216+
connection = Elasticsearch(
217+
[cnt_params],
218+
max_retries=100,
219+
retry_on_timeout=True,
220+
timeout=700,
221+
request_timeout=800,
222+
)
217223
if connection.ping():
218224
return connection
219225
else:

0 commit comments

Comments
 (0)