From 867e7ff9b394f387042751e119d5d5d26d0b4ebc Mon Sep 17 00:00:00 2001 From: Shi Hu Date: Wed, 16 Aug 2023 16:09:52 +0800 Subject: [PATCH] fixed bug batch size --- .../src/main/java/com/vmware/l10agent/conf/PropertyConfigs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/g11n-ws/vip-manager-l10n-agent/src/main/java/com/vmware/l10agent/conf/PropertyConfigs.java b/g11n-ws/vip-manager-l10n-agent/src/main/java/com/vmware/l10agent/conf/PropertyConfigs.java index e125a881f..49e5c9ec8 100644 --- a/g11n-ws/vip-manager-l10n-agent/src/main/java/com/vmware/l10agent/conf/PropertyConfigs.java +++ b/g11n-ws/vip-manager-l10n-agent/src/main/java/com/vmware/l10agent/conf/PropertyConfigs.java @@ -194,7 +194,7 @@ public String getSyncListPath() { public String getUserAgent() { return userAgent; } - public int getSyncBatchSize() { return syncBatchSize; } + public int getSyncBatchSize() { return (syncBatchSize - 1); } public boolean isSyncBatchEnable() { return syncBatchEnable; } }