tolbertam commented on code in PR #3917: URL: https://github.com/apache/cassandra/pull/3917#discussion_r2042201475
########## src/java/org/apache/cassandra/cql3/QueryProcessor.java: ########## @@ -101,6 +102,12 @@ public class QueryProcessor implements QueryHandler // counters. Callers of processStatement are responsible for correctly notifying metrics public static final CQLMetrics metrics = new CQLMetrics(); + // Paging size to use when preloading prepared statements. + public static final int PRELOAD_PREPARED_STATEMENTS_FETCH_SIZE = 5000; + + // Maximum number of prepared statements to preload from prepared statement cache. + public static final int PRELOAD_PREPARED_STATEMENTS_MAX = 1_000_000; Review Comment: :+1: (further discussion [here](https://github.com/apache/cassandra/pull/3917#discussion_r2042139638)) -- 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: pr-unsubscr...@cassandra.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org For additional commands, e-mail: pr-h...@cassandra.apache.org