Skip to content

Quarkus RestClient connectionTTL documentation is misleading #49176

@mkomadel

Description

@mkomadel

Describe the bug

Hi, documentation for rest client connection TTL quarkus.rest-client.connection-ttl
states

The time in ms for which a connection remains unused in the connection pool before being evicted and closed. A timeout of 0 means there is no timeout.

without mentioning any default value. This doesn't seem to be correct in two points

Expected behavior

Fix the documentation or maybe it would be better using seconds instead of ms as it doesn't look like the vertx implentation supports ttl in ms.

Actual behavior

see above

How to Reproduce?

No response

Output of uname -a or ver

No response

Output of java -version

No response

Quarkus version or git rev

3.20.1

Build tool (ie. output of mvnw --version or gradlew --version)

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions