Do requests every 100ms
This commit is contained in:
parent
a2fcce5374
commit
16eb8a9693
@ -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):
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user