From 5cb870144b5c976a4e2240d0a0eb7cd251a31664 Mon Sep 17 00:00:00 2001 From: Oleksandr Porunov Date: Sat, 21 Aug 2021 23:05:52 +0300 Subject: [PATCH] Change CQL request timeout to the previous defaul 10s Signed-off-by: Oleksandr Porunov --- docs/configs/janusgraph-cfg.md | 2 +- .../java/org/janusgraph/diskstorage/cql/CQLConfigOptions.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/configs/janusgraph-cfg.md b/docs/configs/janusgraph-cfg.md index 5ebbb73c3d..521a0a2597 100644 --- a/docs/configs/janusgraph-cfg.md +++ b/docs/configs/janusgraph-cfg.md @@ -400,7 +400,7 @@ CQL storage backend options | storage.cql.replication-factor | The number of data replicas (including the original copy) that should be kept | Integer | 1 | GLOBAL_OFFLINE | | storage.cql.replication-strategy-class | The replication strategy to use for JanusGraph keyspace | String | SimpleStrategy | FIXED | | storage.cql.replication-strategy-options | Replication strategy options, e.g. factor or replicas per datacenter. This list is interpreted as a map. It must have an even number of elements in [key,val,key,val,...] form. A replication_factor set here takes precedence over one set with storage.cql.replication-factor | String[] | (no default value) | FIXED | -| storage.cql.request-timeout | Timeout for CQL requests in milliseconds. See DataStax Java Driver option `basic.request.timeout` for more information. | Long | (no default value) | MASKABLE | +| storage.cql.request-timeout | Timeout for CQL requests in milliseconds. See DataStax Java Driver option `basic.request.timeout` for more information. | Long | 10000 | MASKABLE | | storage.cql.session-leak-threshold | The maximum number of live sessions that are allowed to coexist in a given VM until the warning starts to log for every new session. If the value is less than or equal to 0, the feature is disabled: no warning will be issued. See DataStax Java Driver option `advanced.session-leak.threshold` for more information. | Integer | (no default value) | MASKABLE | | storage.cql.session-name | Default name for the Cassandra session | String | JanusGraph Session | MASKABLE | | storage.cql.speculative-retry | The speculative retry policy. One of: NONE, ALWAYS, percentile, ms. | String | (no default value) | FIXED | diff --git a/janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLConfigOptions.java b/janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLConfigOptions.java index c85caca0d7..b6eecbd029 100644 --- a/janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLConfigOptions.java +++ b/janusgraph-cql/src/main/java/org/janusgraph/diskstorage/cql/CQLConfigOptions.java @@ -648,5 +648,5 @@ public interface CQLConfigOptions { "request-timeout", "Timeout for CQL requests in milliseconds. See DataStax Java Driver option `" + DefaultDriverOption.REQUEST_TIMEOUT.getPath() + "` for more information.", - ConfigOption.Type.MASKABLE, Long.class); + ConfigOption.Type.MASKABLE, 10000L); }