commit | ed5873f477200a3641626ee16f0d4b49ecf62019 | [log] [tgz] |
---|---|---|
author | Chan Li <chanli@chromium.org> | Wed Feb 02 19:22:23 2022 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 02 19:22:23 2022 |
tree | 1ac9552773da08588f508186c0ef3dbe07cb55b5 | |
parent | 8a80794cb50927c196456130036a1cc54558c055 [diff] |
[dispatcher] support minimal frequency - Add an option to specify a minimal frequency the dispatcher should invoken SendFn - Track the time the last SendFn was invoked - When the last SendFn invoke time has been older than the minimal frequency, and the buffer is empty, invoken SendFn with a nil batch Bug: 1031205 Change-Id: Ic877407c5e026b96fe0a455bfa61be589bacf9e5 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3426106 Reviewed-by: Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Chan Li <chanli@chromium.org>
LUCI Go code is meant to be worked on from an Chromium infra.git checkout, which enforces packages versions and Go toolchain version. First get fetch via depot_tools.git then run:
fetch infra cd infra/go eval `./env.py` cd src/go.chromium.org/luci
Contributing uses the same flow as Chromium contributions.