Use time.Unix instead of UnixMilli (for Go 1.15 compat)
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
// Code generated by Wire. DO NOT EDIT.
|
// Code generated by Wire. DO NOT EDIT.
|
||||||
|
|
||||||
//go:generate go run github.com/google/wire/cmd/wire
|
//go:generate go run github.com/google/wire/cmd/wire
|
||||||
|
//go:build !wireinject
|
||||||
// +build !wireinject
|
// +build !wireinject
|
||||||
|
|
||||||
package service
|
package service
|
||||||
|
|||||||
@@ -939,7 +939,7 @@ func (s *StreamAllocator) isTimeToBoost() bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (s *StreamAllocator) resetBoost() {
|
func (s *StreamAllocator) resetBoost() {
|
||||||
s.lastBoostTime = time.UnixMilli(0)
|
s.lastBoostTime = time.Unix(0, 0)
|
||||||
s.boostedChannelCapacity = 0
|
s.boostedChannelCapacity = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user