typo
This commit is contained in:
parent
1faae64bdb
commit
6af3d03d43
2
tail.go
2
tail.go
|
@ -270,7 +270,7 @@ func (tail *Tail) sendLine(line []byte) bool {
|
||||||
tail.Lines <- &Line{line, now, nil}
|
tail.Lines <- &Line{line, now, nil}
|
||||||
rate := tail.rateMon.Tick(nowUnix)
|
rate := tail.rateMon.Tick(nowUnix)
|
||||||
if tail.LimitRate > 0 && rate > tail.LimitRate {
|
if tail.LimitRate > 0 && rate > tail.LimitRate {
|
||||||
log.Printf("Rate limit (%v < %v) reached file (%v); entering 1s cooloff period.\n",
|
log.Printf("Rate limit (%v < %v) reached on file (%v); entering 1s cooloff period.\n",
|
||||||
tail.LimitRate,
|
tail.LimitRate,
|
||||||
rate,
|
rate,
|
||||||
tail.Filename)
|
tail.Filename)
|
||||||
|
|
Loading…
Reference in New Issue