Skip to content

Commit d99f756

Browse files
Clean up
1 parent 9e4c33b commit d99f756

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

x-pack/plugin/inference/src/main/java/org/elasticsearch/xpack/inference/external/http/sender/RequestExecutorService.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ void removeStaleGroupings() {
232232

233233
private void scheduleNextHandleTasks(TimeValue timeToWait) {
234234
if (shutdown.get()) {
235-
logger.debug("Shutdown requested while scheduling next task, cleaning up");
235+
logger.debug("Shutdown requested while scheduling next handle task call, cleaning up");
236236
cleanup();
237237
return;
238238
}
@@ -268,7 +268,6 @@ private void handleTasks() {
268268
logger.warn("Encountered an error while handling tasks", e);
269269
cleanup();
270270
}
271-
// sleeper.sleep(timeToWait);
272271
}
273272

274273
private void notifyRequestsOfShutdown() {

0 commit comments

Comments
 (0)