From 3eb803ae1c5f0623b263684dfb00fe96ed806a05 Mon Sep 17 00:00:00 2001 From: Christian Schaible Date: Wed, 29 Jan 2025 15:07:27 +0000 Subject: [PATCH] Merged PR 724980: fix: Set default connection pool size to 2 Updating the default connection pool size after clarifying with the Integration platform team. Security-concept-update-needed: false. JIRA Work Item: STACKITRMA-68 --- audit/messaging/amqp_connection_pool.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/audit/messaging/amqp_connection_pool.go b/audit/messaging/amqp_connection_pool.go index fec9805..b014c91 100644 --- a/audit/messaging/amqp_connection_pool.go +++ b/audit/messaging/amqp_connection_pool.go @@ -41,14 +41,14 @@ type ConnectionPoolHandle struct { func NewDefaultAmqpConnectionPool(config AmqpConnectionConfig, connectionName string) (ConnectionPool, error) { poolConfig := AmqpConnectionPoolConfig{ Parameters: config, - PoolSize: 1, + PoolSize: 2, } return NewAmqpConnectionPool(poolConfig, connectionName) } func NewAmqpConnectionPool(config AmqpConnectionPoolConfig, connectionName string) (ConnectionPool, error) { if config.PoolSize == 0 { - config.PoolSize = 1 + config.PoolSize = 2 } pool := &AmqpConnectionPool{ config: config,