Improve framerate
This commit is contained in:
parent
50139be273
commit
dd205b2d9e
1 changed files with 2 additions and 2 deletions
4
main.go
4
main.go
|
@ -73,8 +73,8 @@ func handler(w http.ResponseWriter, r *http.Request) {
|
|||
if i >= frames.GetLength() {
|
||||
i = 0
|
||||
}
|
||||
// Artificially wait between reponses.
|
||||
time.Sleep(time.Millisecond * 70)
|
||||
// Artificially wait between responses.
|
||||
time.Sleep(time.Millisecond * 69)
|
||||
|
||||
// Clear screen
|
||||
clearScreen := "\033[2J\033[H"
|
||||
|
|
Loading…
Reference in a new issue