mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 15:22:30 +00:00
Use time.Unix instead of UnixMilli (for Go 1.15 compat)
This commit is contained in:
1 parent
1e1aaeb86b
commit
749446274f
2 files changed
+3
-2
No files matched your search
@@ -1,7 +1,8 @@
|
||||
// Code generated by Wire. DO NOT EDIT.
|
||||
|
||||
//go:generate go run github.com/google/wire/cmd/wire
|
||||
//+build !wireinject
|
||||
//go:build !wireinject
|
||||
// +build !wireinject
|
||||
|
||||
package service
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user