Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pretty print cluster connect timeout in logs (#18648)
The default value for the cluster connect timeout is infinite, so it is represented with `Long.MAX_VALUE`. When we try to log this as it is, we output something like below. ``` ... cluster connect timeout: 9223372036854775807 ms, ... ``` To make this more clear, we will replace this with the output below. ``` ... cluster connect timeout: INFINITE, ... ``` If the user has provided some other timeout value (such as 999 ms), the output will still be as it is now. ``` ... cluster connect timeout: 999 ms, ... ```
- Loading branch information