mirror of https://github.com/jech/galene.git
parent
be2f2d7cb3
commit
ddb6039fa6
|
@ -831,7 +831,10 @@ func clientLoop(c *webClient, ws *websocket.Conn) error {
|
||||||
c.actions = nil
|
c.actions = nil
|
||||||
c.mu.Unlock()
|
c.mu.Unlock()
|
||||||
for _, a := range actions {
|
for _, a := range actions {
|
||||||
handleAction(c, a)
|
err := handleAction(c, a)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
}
|
}
|
||||||
case <-ticker.C:
|
case <-ticker.C:
|
||||||
if time.Since(readTime) > 75*time.Second {
|
if time.Since(readTime) > 75*time.Second {
|
||||||
|
|
Loading…
Reference in New Issue