This is an automated email from the ASF dual-hosted git repository. jkevan pushed a commit to branch upgradeESSocketTimeout in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/upgradeESSocketTimeout by this push: new 938656467 UNOMI-784: add some clarity to config related to socket timeout 938656467 is described below commit 938656467a8991838bea3604c22f4c7b8496b5da Author: Kevan <ke...@jahia.com> AuthorDate: Mon Jul 24 14:37:18 2023 +0200 UNOMI-784: add some clarity to config related to socket timeout --- package/src/main/resources/etc/custom.system.properties | 3 +++ .../src/main/resources/org.apache.unomi.persistence.elasticsearch.cfg | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package/src/main/resources/etc/custom.system.properties b/package/src/main/resources/etc/custom.system.properties index 9f5bf5bd8..09aeb1ead 100644 --- a/package/src/main/resources/etc/custom.system.properties +++ b/package/src/main/resources/etc/custom.system.properties @@ -132,6 +132,9 @@ org.apache.unomi.elasticsearch.defaultIndex.indexMaxDocValueFieldsSearch=${env:U org.apache.unomi.elasticsearch.defaultQueryLimit=${env:UNOMI_ELASTICSEARCH_DEFAULTQUERYLIMIT:-10} org.apache.unomi.elasticsearch.aggregateQueryBucketSize=${env:UNOMI_ELASTICSEARCH_AGGREGATEBUCKETSIZE:-5000} org.apache.unomi.elasticsearch.maximumIdsQueryCount=${env:UNOMI_ELASTICSEARCH_MAXIMUMIDSQUERYCOUNT:-5000} +# Defines the socket timeout (SO_TIMEOUT) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets). +# A timeout value of zero is interpreted as an infinite timeout. A negative value is interpreted as undefined (system default). +# Default: 90 sec org.apache.unomi.elasticsearch.clientSocketTimeout=${env:UNOMI_ELASTICSEARCH_CLIENT_SOCKET_TIMEOUT:-180000} org.apache.unomi.elasticsearch.pastEventsDisablePartitions=${env:UNOMI_ELASTICSEARCH_PAST_EVENTS_DISABLE_PARTITIONS:-false} org.apache.unomi.elasticsearch.aggQueryThrowOnMissingDocs=${env:UNOMI_ELASTICSEARCH_AGG_QUERY_THROW_ON_MISSING_DOCS:-false} diff --git a/persistence-elasticsearch/core/src/main/resources/org.apache.unomi.persistence.elasticsearch.cfg b/persistence-elasticsearch/core/src/main/resources/org.apache.unomi.persistence.elasticsearch.cfg index ad4144558..a7fb5c1d1 100644 --- a/persistence-elasticsearch/core/src/main/resources/org.apache.unomi.persistence.elasticsearch.cfg +++ b/persistence-elasticsearch/core/src/main/resources/org.apache.unomi.persistence.elasticsearch.cfg @@ -73,7 +73,9 @@ maximumIdsQueryCount=${org.apache.unomi.elasticsearch.maximumIdsQueryCount:-5000 # Disable partitions on aggregation queries for past events. pastEventsDisablePartitions=${org.apache.unomi.elasticsearch.pastEventsDisablePartitions:-false} -# max socket timeout in millis +# Defines the socket timeout (SO_TIMEOUT) in milliseconds, which is the timeout for waiting for data or, put differently, a maximum period inactivity between two consecutive data packets). +# A timeout value of zero is interpreted as an infinite timeout. A negative value is interpreted as undefined (system default). +# Default: 90 sec clientSocketTimeout=${org.apache.unomi.elasticsearch.clientSocketTimeout:-180000} # refresh policy per item type in Json.