Skip to content

Commit 99677f7

Browse files
oneonestarmosabua
authored andcommitted
Remove unused code
1 parent 64dcbd5 commit 99677f7

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

gateway-ha/src/main/java/io/trino/gateway/ha/clustermonitor/ActiveClusterMonitor.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,6 @@ public void start()
8787
catch (Exception e) {
8888
log.error(e, "Error performing backend monitor tasks");
8989
}
90-
try {
91-
Thread.sleep(TimeUnit.SECONDS.toMillis(taskDelaySeconds));
92-
}
93-
catch (Exception e) {
94-
log.error(e, "Error with monitor task");
95-
}
9690
}, 0, taskDelaySeconds, TimeUnit.SECONDS);
9791
}
9892

0 commit comments

Comments
 (0)