Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ protected static void fillWithDriverDefaults(OptionsMap map) {
map.put(
TypedDriverOption.METADATA_SCHEMA_REFRESHED_KEYSPACES,
ImmutableList.of("!system", "!/^system_.*/", "!/^dse_.*/", "!solr_admin", "!OpsCenter"));
map.put(TypedDriverOption.METADATA_SCHEMA_REQUEST_TIMEOUT, requestTimeout);
map.put(TypedDriverOption.METADATA_SCHEMA_REQUEST_TIMEOUT, Duration.ofSeconds(20));
map.put(TypedDriverOption.METADATA_SCHEMA_REQUEST_PAGE_SIZE, requestPageSize);
map.put(TypedDriverOption.METADATA_SCHEMA_WINDOW, Duration.ofSeconds(1));
map.put(TypedDriverOption.METADATA_SCHEMA_MAX_EVENTS, 20);
Expand Down
10 changes: 9 additions & 1 deletion core/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2025,11 +2025,19 @@ datastax-java-driver {

# The timeout for the requests to the schema tables.
#
# For Scylla clusters this functions as both driver and server-side timeout.
# Schema queries for Scylla will have "using timeout <duration>" clause added, overriding the default
# server-side timeout for queries.
# For other clusters, this is a driver-side timeout.
#
# The default value is set very high, however in regular cases schema queries should
# only take a small fraction of that.
#
# Required: yes
# Modifiable at runtime: yes, the new value will be used for refreshes issued after the
# change.
# Overridable in a profile: no
request-timeout = ${datastax-java-driver.basic.request.timeout}
request-timeout = 20 seconds

# The page size for the requests to the schema tables.
#
Expand Down
Loading