All checks were successful
DCO action / DCO (pull_request) Successful in 34s
Tests and linters / Run gofumpt (pull_request) Successful in 33s
Vulncheck / Vulncheck (pull_request) Successful in 37s
Tests and linters / Tests (pull_request) Successful in 50s
Tests and linters / Tests with -race (pull_request) Successful in 50s
Tests and linters / Staticcheck (pull_request) Successful in 1m6s
Pre-commit hooks / Pre-commit (pull_request) Successful in 1m18s
Tests and linters / Lint (pull_request) Successful in 1m32s
Tests and linters / gopls check (pull_request) Successful in 1m38s
Let's assume that there are two requests in the queue with execution time t1 and t2. The timer is set to t1. The timer is triggered, schedules the t1 request, calculates the time for the next timer t2 to be triggered. But it doesn't schedules timer to this time because of the `q.timeBasedScheduleTs > nextTs` check. Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com> |
||
---|---|---|
.. | ||
clock.go | ||
mclock.go | ||
mclock_bench.result | ||
mclock_bench_test.go | ||
mclock_test.go | ||
queue.go |