Fix PulsarProperties lookupTimeout
Prefer `null` to `-1` for the default timeout. See gh-34763
This commit is contained in:
parent
3c62defb9d
commit
93b562e632
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue