Skip to content

Commit

Permalink
format and optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
yanhom1314 committed Oct 29, 2024
1 parent 68ee7b6 commit e858bc2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

package org.dromara.dynamictp.core.monitor;


import com.google.common.eventbus.Subscribe;
import lombok.extern.slf4j.Slf4j;
import org.dromara.dynamictp.common.entity.ThreadPoolStats;
Expand All @@ -35,7 +34,6 @@
import org.dromara.dynamictp.core.support.ExecutorWrapper;
import org.dromara.dynamictp.core.support.ThreadPoolCreator;


import java.util.Set;
import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.ScheduledFuture;
Expand All @@ -53,6 +51,7 @@
public class DtpMonitor {

private static final ScheduledExecutorService MONITOR_EXECUTOR = ThreadPoolCreator.newScheduledThreadPool("dtp-monitor", 1);

private final DtpProperties dtpProperties;

private ScheduledFuture<?> monitorFuture;
Expand Down

0 comments on commit e858bc2

Please sign in to comment.