Skip to content

Conversation

@bnkamalesh
Copy link
Member

This may seem redundant, but improves the accuracy of the overall behaviour.

Without the reset, the following tick could be executed immediately after a batch is processed. It could happen on the following conditions:

  1. The total time taken for processing the batch
  2. When N number of batches are processed, triggered by BATCH_FULL, ticker would eventually tick with a small/empty batch. Despite the channel is continuously receiving items

@bnkamalesh bnkamalesh self-assigned this Nov 17, 2025
@bnkamalesh bnkamalesh added the enhancement New feature or request label Nov 17, 2025
@bnkamalesh bnkamalesh changed the title [patch] reset ticker even whenever a batch is processed [patch] reset ticker whenever a batch is processed Nov 17, 2025
@bnkamalesh bnkamalesh merged commit 3b5f826 into main Nov 17, 2025
1 check passed
@bnkamalesh bnkamalesh deleted the ticker-reset branch November 17, 2025 16:36
@bnkamalesh bnkamalesh restored the ticker-reset branch November 17, 2025 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants