mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-17 12:09:16 +00:00
Fix PulsarProperties lookupTimeout
Prefer `null` to `-1` for the default timeout. See gh-34763
This commit is contained in:
+1
-1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user