Skip to content

resetConnectionPoolMaxSize resets the core pool size #696

Description

@bbottema

Problem

MailerGenericBuilder.resetConnectionPoolMaxSize() currently delegates to withConnectionPoolCoreSize(DEFAULT_CONNECTIONPOOL_MAX_SIZE).

As a result, calling it changes the core pool size to 4 and leaves the configured maximum unchanged, contrary to the public API contract.

Expected behavior

resetConnectionPoolMaxSize() should restore only the maximum pool size to DEFAULT_CONNECTIONPOOL_MAX_SIZE, leaving the configured core size untouched.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions