2
0
mirror of synced 2025-02-24 06:38:14 +00:00

Do requests every 100ms

This commit is contained in:
Matt Joiner 2021-05-10 17:43:34 +10:00
parent a2fcce5374
commit 16eb8a9693

View File

@ -81,7 +81,7 @@ func (cl *Client) requester() {
select { select {
case <-cl.closed.LockedChan(cl.locker()): case <-cl.closed.LockedChan(cl.locker()):
return return
case <-time.After(10 * time.Millisecond): case <-time.After(100 * time.Millisecond):
} }
} }
} }