Skip to content

Commit ea2bf66

Browse files
Update PollQueueBalancer docs
1 parent e3b291e commit ea2bf66

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

temporal-sdk/src/main/java/io/temporal/internal/worker/AsyncPoller.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import io.temporal.worker.tuning.SlotSupplierFuture;
1212
import java.util.*;
1313
import java.util.concurrent.*;
14-
import java.util.concurrent.atomic.AtomicInteger;
1514
import java.util.concurrent.locks.Condition;
1615
import java.util.concurrent.locks.Lock;
1716
import java.util.concurrent.locks.ReentrantLock;
@@ -311,8 +310,9 @@ public void run() {
311310
}
312311

313312
/**
314-
* PollQueueBalancer is used to ensure that at least one poller is running for each task. This is
315-
* necessary to avoid one poller from consuming all the slots and starving other pollers.
313+
* PollQueueBalancer is used to ensure that at least one poll request is running for each task
314+
* type. This is necessary to avoid one task type from consuming all the slots and starving other
315+
* pollers.
316316
*/
317317
@ThreadSafe
318318
class PollQueueBalancer {

0 commit comments

Comments
 (0)