maedhroz commented on code in PR #3274:
URL: https://github.com/apache/cassandra/pull/3274#discussion_r1591605637
##########
src/java/org/apache/cassandra/config/DatabaseDescriptor.java:
##########
@@ -2238,6 +2247,91 @@ public static long getMinRpcTimeout(TimeUnit unit)
getTruncateRpcTimeout(unit));
}
+ public static Config.CQLStartTime getCQLStartTime()
+ {
+ return conf.cql_start_time;
+ }
+
+ public static void setCQLStartTime(Config.CQLStartTime value)
+ {
+ conf.cql_start_time = value;
+ }
+
+ /**
+ * How much time the item is allowed to spend in (currently only Native)
queue, compared to {@link #nativeTransportIdleTimeout()},
Review Comment:
Compared to `nativeTransportIdleTimeout()` or to `native_transport_timeout`?
It seems like in `Dispatcher` we have:
```
return requestExecutor.oldestTaskQueueTime() <
(DatabaseDescriptor.getNativeTransportTimeout(TimeUnit.NANOSECONDS) *
threshold);
```
Also, should the default threshold be `1.0` or `Double.MAX_VALUE`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]