good morning!!!!

Skip to content
Snippets Groups Projects
Commit c0d54182 authored by or-else's avatar or-else
Browse files

decrement inflight counter when rejecting {sub} request

parent 9739b10d
Branches 2subs
Tags
No related merge requests found
...@@ -202,6 +202,9 @@ func (h *Hub) run() { ...@@ -202,6 +202,9 @@ func (h *Hub) run() {
// Topic found. // Topic found.
if t.isInactive() { if t.isInactive() {
// Topic is either not ready or being deleted. // Topic is either not ready or being deleted.
if join.sess.inflightReqs != nil {
join.sess.inflightReqs.Done()
}
join.sess.queueOut(ErrLockedReply(join, join.Timestamp)) join.sess.queueOut(ErrLockedReply(join, join.Timestamp))
continue continue
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment