Skip to content

Commit

Permalink
HSEARCH-2449 Raise the default Elasticsearch connection timeout to th…
Browse files Browse the repository at this point in the history
…e Jest default (3000ms)
  • Loading branch information
yrodiere authored and Sanne committed Dec 7, 2016
1 parent 4df50d5 commit 38ec50d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -140,7 +140,7 @@ Mapping validation is as permissive as possible. Fields or mappings that are unk

One exception should be noted, though: date formats must match exactly the formats specified by Hibernate Search, due to implementation constraints.
--
Maximum time to wait for a connection to the Elasticsearch server before failing (in ms):: `hibernate.search.default.elasticsearch.connection_timeout 2000` (default)
Maximum time to wait for a connection to the Elasticsearch server before failing (in ms):: `hibernate.search.default.elasticsearch.connection_timeout 3000` (default)
Maximum time to wait for a response from the Elasticsearch server before failing (in ms):: `hibernate.search.default.elasticsearch.read_timeout 60000` (default)
Maximum time to wait for the indexes to become available before failing (in ms):: `hibernate.search.default.elasticsearch.index_management_wait_timeout 10000` (default)
+
Expand Down
Expand Up @@ -20,7 +20,7 @@ public static final class Defaults {

public static final String SERVER_URI = "http://localhost:9200";
public static final int SERVER_READ_TIMEOUT = 60000;
public static final int SERVER_CONNECTION_TIMEOUT = 2000;
public static final int SERVER_CONNECTION_TIMEOUT = 3000;
public static final IndexSchemaManagementStrategy INDEX_SCHEMA_MANAGEMENT_STRATEGY = IndexSchemaManagementStrategy.CREATE;
public static final int INDEX_MANAGEMENT_WAIT_TIMEOUT = 10_000;
public static final String REQUIRED_INDEX_STATUS = "green";
Expand Down

0 comments on commit 38ec50d

Please sign in to comment.