Make channels buffered otherwise it will hang
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
4a521f595d
commit
6c6a8a843d
|
@ -21,8 +21,8 @@ type MockServer struct {
|
|||
}
|
||||
|
||||
func makeMockServer() *MockServer {
|
||||
in := make(chan room.ServerMessage)
|
||||
out := make(chan room.BotMessage)
|
||||
in := make(chan room.ServerMessage, 99)
|
||||
out := make(chan room.BotMessage, 99)
|
||||
srv := &MockServer{
|
||||
in: in,
|
||||
out: out,
|
||||
|
|
Loading…
Reference in New Issue