|
@ -38,7 +38,6 @@ import ( |
|
|
"context" |
|
|
"context" |
|
|
"errors" |
|
|
"errors" |
|
|
"sync" |
|
|
"sync" |
|
|
"time" |
|
|
|
|
|
|
|
|
|
|
|
cmn "github.com/tendermint/tendermint/libs/common" |
|
|
cmn "github.com/tendermint/tendermint/libs/common" |
|
|
) |
|
|
) |
|
@ -395,7 +394,7 @@ func (state *state) send(msg interface{}, tags map[string]string) { |
|
|
// don't block on buffered channels
|
|
|
// don't block on buffered channels
|
|
|
select { |
|
|
select { |
|
|
case subscription.out <- Message{msg, tags}: |
|
|
case subscription.out <- Message{msg, tags}: |
|
|
case <-time.After(100 * time.Millisecond): |
|
|
|
|
|
|
|
|
default: |
|
|
state.remove(clientID, qStr, ErrOutOfCapacity) |
|
|
state.remove(clientID, qStr, ErrOutOfCapacity) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|