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.
Problem
MailerGenericBuilder.resetConnectionPoolMaxSize()currently delegates towithConnectionPoolCoreSize(DEFAULT_CONNECTIONPOOL_MAX_SIZE).As a result, calling it changes the core pool size to
4and leaves the configured maximum unchanged, contrary to the public API contract.Expected behavior
resetConnectionPoolMaxSize()should restore only the maximum pool size toDEFAULT_CONNECTIONPOOL_MAX_SIZE, leaving the configured core size untouched.