This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new c8075804d1d [cleanup] Remove unused static fields in BrokerService
(#24251)
c8075804d1d is described below
commit c8075804d1d30b6b8b2fcc21010cf6e5fea03065
Author: 道君- Tao Jiuming <[email protected]>
AuthorDate: Tue May 6 14:58:44 2025 +0800
[cleanup] Remove unused static fields in BrokerService (#24251)
---
.../src/main/java/org/apache/pulsar/broker/service/BrokerService.java | 4 ----
1 file changed, 4 deletions(-)
diff --git
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
index 236c6e4ddea..28075b989fd 100644
---
a/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
+++
b/pulsar-broker/src/main/java/org/apache/pulsar/broker/service/BrokerService.java
@@ -203,10 +203,6 @@ import org.slf4j.LoggerFactory;
@Setter(AccessLevel.PROTECTED)
public class BrokerService implements Closeable {
private static final Logger log =
LoggerFactory.getLogger(BrokerService.class);
- private static final Duration FUTURE_DEADLINE_TIMEOUT_DURATION =
Duration.ofSeconds(60);
- private static final TimeoutException FUTURE_DEADLINE_TIMEOUT_EXCEPTION =
- FutureUtil.createTimeoutException("Future didn't finish within
deadline", BrokerService.class,
- "futureWithDeadline(...)");
private static final TimeoutException
FAILED_TO_LOAD_TOPIC_TIMEOUT_EXCEPTION =
FutureUtil.createTimeoutException("Failed to load topic within
timeout", BrokerService.class,
"futureWithDeadline(...)");