reduce poll interval to 50ms
This commit is contained in:
parent
41eb334001
commit
b63b26323a
4
main.go
4
main.go
|
|
@ -213,7 +213,7 @@ func (cw *chatWin) tail() {
|
||||||
if os.IsNotExist(err) {
|
if os.IsNotExist(err) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
time.Sleep(200 * time.Millisecond)
|
time.Sleep(50 * time.Millisecond)
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
size := int(fi.Size())
|
size := int(fi.Size())
|
||||||
|
|
@ -236,7 +236,7 @@ func (cw *chatWin) tail() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
time.Sleep(200 * time.Millisecond)
|
time.Sleep(50 * time.Millisecond)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Reference in New Issue