Sentry简介— Sentry Client Connection Pool Configuration

本文介绍了Sentry客户端连接池的配置方法及参数说明,包括如何启用连接池、最大连接数、空闲连接数等关键配置项。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Sentry简介 Sentry Client Connection Pool Configuration

Sentry Client Connection Pool is an improvement which make Sentry supports connection pooling in sentry client.

Enable Connection Pool in Client Side (sentry-site.xml)

 

Config Property

Value

Description

Default

sentry.service.client.connection.pool.enabled

true

Whether connection pool are enabled.

false

Connection Pool Performance Configuration

Config Property

Default Value

Description

sentry.service.client.connection.pool.max-total

8

The max number of client instances in connection pool.

sentry.service.client.connection.pool.max-idle

8

The max number of idle client instances in connection pool.

sentry.service.client.connection.pool.min-idle

0

The min number of idle client instances in connection pool.

Other Configuration about Connection Pool


Config Property

Default Value

Description

sentry.service.client.connection.pool.retry-total

3

The max retry times of each operation when connection pool is enabled.



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值