Fix PulsarProperties lookupTimeout

Prefer `null` to `-1` for the default timeout.

See gh-34763
This commit is contained in:
Phillip Webb 2023-10-18 20:52:12 -07:00
parent 3c62defb9d
commit 93b562e632
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ public class PulsarProperties {
/** /**
* Client lookup timeout. * Client lookup timeout.
*/ */
private Duration lookupTimeout = Duration.ofMillis(-1); // FIXME private Duration lookupTimeout;
/** /**
* Duration to wait for a connection to a broker to be established. * Duration to wait for a connection to a broker to be established.