No description
Find a file
Dmitrii Stepanov f546741c3a
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
[#12] mclock: Fix timer-based scheduling
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>
2025-03-19 16:00:50 +03:00
.forgejo [#5] govulncheck: Fix minor update problems for good 2025-02-10 18:39:38 +03:00
internal/assert [#1] mclock: Add assert package 2025-01-28 11:35:54 +03:00
limiting [#8] limiting: Make SemaphoreLimiter.Acquire() zero-alloc 2025-02-26 18:03:41 +03:00
scheduling [#12] mclock: Fix timer-based scheduling 2025-03-19 16:00:50 +03:00
tagging [#2] tagging: Add grpc and context methods 2025-01-28 14:29:36 +03:00
.gitattributes Initial commit 2025-01-20 16:02:19 +03:00
.gitignore Initial commit 2025-01-20 16:02:19 +03:00
.golangci.yml Initial commit 2025-01-20 16:02:19 +03:00
.pre-commit-config.yaml [#6] pre-commit: Add hook for running gofumpt 2025-03-04 13:01:33 +03:00
CODEOWNERS [#2] Add CODEOWNERS 2025-01-28 14:29:37 +03:00
go.mod [#2] tagging: Add grpc and context methods 2025-01-28 14:29:36 +03:00
go.sum [#2] tagging: Add grpc and context methods 2025-01-28 14:29:36 +03:00
LICENSE Initial commit 2025-01-20 16:02:19 +03:00
Makefile [#6] Makefile: Remove fmt rule, use fumpt rule instead 2025-03-04 13:01:25 +03:00
README.md Initial commit 2025-01-20 16:02:19 +03:00

Quality of Service (QoS) Go libraries for FrostFS object storage

See package documentation at pkg.go.dev

Copyright 2023-2025 FrostFS contributors

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.