mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-05 00:56:58 +08:00
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.
|
||||
*/
|
||||
private Duration lookupTimeout = Duration.ofMillis(-1); // FIXME
|
||||
private Duration lookupTimeout;
|
||||
|
||||
/**
|
||||
* Duration to wait for a connection to a broker to be established.
|
||||
|
Loading…
Reference in New Issue
Block a user