bugfix : return valur from subscribe
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
428eda0ab7
commit
2e2ebad364
@ -59,7 +59,10 @@ func (r *RedisRouter) Route(msg *meowlib.ToServerMessage) (*meowlib.FromServerMe
|
||||
}
|
||||
if msg.Timeout > 0 {
|
||||
// set timeout for the lookup
|
||||
r.subscribe(msg, int(msg.Timeout))
|
||||
from_server, err = r.subscribe(msg, int(msg.Timeout))
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
}
|
||||
}
|
||||
// manage Matriochka
|
||||
|
Loading…
Reference in New Issue
Block a user