From ec5e63c466b4cac0c99a944f51871e1725439318 Mon Sep 17 00:00:00 2001 From: Christophe Camel Date: Mon, 4 Apr 2022 14:50:02 +0200 Subject: [PATCH] feat: set the maximum number of blocks to 50 (was 1000) --- .../kotlin/com/okp4/connect/cosmos/CosmosSourceConnector.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/com/okp4/connect/cosmos/CosmosSourceConnector.kt b/src/main/kotlin/com/okp4/connect/cosmos/CosmosSourceConnector.kt index 106e67e..f87a3d8 100644 --- a/src/main/kotlin/com/okp4/connect/cosmos/CosmosSourceConnector.kt +++ b/src/main/kotlin/com/okp4/connect/cosmos/CosmosSourceConnector.kt @@ -56,9 +56,9 @@ class CosmosSourceConnector : SourceConnector() { ).define( MAX_POLL_LENGTH_CONFIG, ConfigDef.Type.LONG, - 1000, + 50, Importance.MEDIUM, - "The max number of block to put in the queue", + "The maximum number of blocks to fetch in each poll", ).define( TLS_ENABLE_CONFIG, ConfigDef.Type.BOOLEAN,