chibenwa commented on code in PR #2514: URL: https://github.com/apache/james-project/pull/2514#discussion_r1858068476
########## backends-common/postgres/src/main/java/org/apache/james/backends/postgres/PostgresConfiguration.java: ########## @@ -59,6 +59,8 @@ public class PostgresConfiguration { public static final String SSL_MODE_DEFAULT_VALUE = "allow"; public static final String JOOQ_REACTIVE_TIMEOUT = "jooq.reactive.timeout"; public static final Duration JOOQ_REACTIVE_TIMEOUT_DEFAULT_VALUE = Duration.ofSeconds(10); + public static final String QUERY_BATCH_SIZE = "query.batch.size"; + public static final int QUERY_BATCH_SIZE_DEFAULT_VALUE = 5000; Review Comment: Use a system property and default to 5000 -- 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: notifications-unsubscr...@james.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org