Fix count in database reconnect attempts

Description

When Openfire cannot immediately obtain a database connection from its connection pool, it will retry. The retry message printed to the log file is:

“Unable to get a connection from the database pool (attempt X out of Y).”

Annoyingly, X is 0-based. The last attempt that’s logged has an X that is equal to Y-1.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created April 6, 2022 at 1:59 PM
Updated April 6, 2022 at 4:31 PM
Resolved April 6, 2022 at 4:31 PM