forked from TrueCloudLab/frostfs-qos
[#1] mclock: Use time.Duration
for idle timeout
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
47559a8d16
commit
f1cb5b40d5
3 changed files with 10 additions and 9 deletions
|
@ -56,7 +56,7 @@ func BenchmarkMClock(b *testing.B) {
|
|||
tagInfos["tag"+strconv.FormatInt(int64(tag), 10)] = TagInfo{Share: 50, LimitIOPS: limit, ReservedIOPS: reservation}
|
||||
}
|
||||
|
||||
mClockQ, _ := NewMClock(math.MaxUint64, math.MaxUint64, tagInfos, math.MaxFloat64)
|
||||
mClockQ, _ := NewMClock(math.MaxUint64, math.MaxUint64, tagInfos, time.Hour)
|
||||
|
||||
resStr := "no"
|
||||
if reservation != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue