Use time.Unix instead of UnixMilli (for Go 1.15 compat)

This commit is contained in:
David Zhao
2021-11-08 20:47:41 -08:00
parent 1e1aaeb86b
commit 749446274f
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -939,7 +939,7 @@ func (s *StreamAllocator) isTimeToBoost() bool {
}
func (s *StreamAllocator) resetBoost() {
s.lastBoostTime = time.UnixMilli(0)
s.lastBoostTime = time.Unix(0, 0)
s.boostedChannelCapacity = 0
}