chore: pin GH commits and switch to golangci-lint (#4444)
* chore: pin GH commits * switch to golangci-lint-action * fix lint issues
This commit is contained in:
@@ -80,8 +80,8 @@ func (l *LeakyBucket) Enqueue(p *Packet) {
|
||||
func (l *LeakyBucket) sendWorker() {
|
||||
l.lock.RLock()
|
||||
interval := l.interval
|
||||
bitrate := l.bitrate
|
||||
l.lock.RUnlock()
|
||||
var bitrate int
|
||||
|
||||
timer := time.NewTimer(interval)
|
||||
overage := 0
|
||||
|
||||
Reference in New Issue
Block a user