From e5636cc5cac78b460d623eef634fdf8ac1846c45 Mon Sep 17 00:00:00 2001 From: Nico Koprowski Date: Wed, 14 Aug 2024 14:50:49 +0800 Subject: [PATCH] fix(config): lower the standard batch sizes for Gate and Pool golden record task processing --- CHANGELOG.md | 7 ++++++- bpdm-gate/src/main/resources/application.yml | 6 +++--- bpdm-pool/src/main/resources/application.yml | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da9811cb8..e9221912f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,9 +10,14 @@ For changes to the BPDM Helm charts please consult the [changelog](charts/bpdm/C ### Added --BPDM Pool: Post endpoint to create a site for LegalAndSiteMainAddress addressType.([#739](https://github.com/eclipse-tractusx/sig-release/issues/739)) +- BPDM Pool: Post endpoint to create a site for LegalAndSiteMainAddress addressType.([#739](https://github.com/eclipse-tractusx/sig-release/issues/739)) +### Changed + +- BPDM Pool: Reduce standard batch size for golden record task processing +- BPDM Gate: Reduce standard batch size for golden record task processing + ## [6.1.0] - [2024-07-15] ### Added diff --git a/bpdm-gate/src/main/resources/application.yml b/bpdm-gate/src/main/resources/application.yml index 3f995ffd8..ce2b6b373 100644 --- a/bpdm-gate/src/main/resources/application.yml +++ b/bpdm-gate/src/main/resources/application.yml @@ -48,14 +48,14 @@ bpdm: # When and how often the Gate checks for new business partner data to be shared cron: '*/30 * * * * *' # Up to how many golden record tasks can be created when checking - batchSize: 100 + batchSize: 20 fromPool: # Up to how many golden record tasks can be created when checking - batchSize: 100 + batchSize: 20 # When and how often the Gate checks for golden record updates from the Pool cron: '*/30 * * * * *' check: - batchSize: 100 + batchSize: 20 cron: '*/30 * * * * *' # Connection to the pool and orchestrator client: diff --git a/bpdm-pool/src/main/resources/application.yml b/bpdm-pool/src/main/resources/application.yml index 64e149875..f875da5a1 100644 --- a/bpdm-pool/src/main/resources/application.yml +++ b/bpdm-pool/src/main/resources/application.yml @@ -82,7 +82,7 @@ bpdm: # When and how often the Pool should poll for golden record tasks in the orchestrator cron: '*/30 * * * * *' # Up to how many tasks can be requested at the same time - batchSize: 100 + batchSize: 20 security: # Allowed origins for CORS cors-origins: '*'