Committed by
Gerrit Code Review
Sweep deprecated todo comment
Change-Id: I6140aa38aff475424e44c6597599703776530f4d
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -347,8 +347,9 @@ public class IntentManager | ... | @@ -347,8 +347,9 @@ public class IntentManager |
347 | public void execute(Collection<IntentData> operations) { | 347 | public void execute(Collection<IntentData> operations) { |
348 | log.debug("Execute {} operation(s).", operations.size()); | 348 | log.debug("Execute {} operation(s).", operations.size()); |
349 | log.trace("Execute operations: {}", operations); | 349 | log.trace("Execute operations: {}", operations); |
350 | + | ||
351 | + // batchExecutor is single-threaded, so only one batch is in flight at a time | ||
350 | batchExecutor.execute(new IntentBatchProcess(operations)); | 352 | batchExecutor.execute(new IntentBatchProcess(operations)); |
351 | - // TODO ensure that only one batch is in flight at a time | ||
352 | } | 353 | } |
353 | } | 354 | } |
354 | 355 | ... | ... |
-
Please register or login to post a comment