-
-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core: send UP from initial subscriptions #1172
base: master
Are you sure you want to change the base?
Conversation
else do | ||
logWarn "subcription batch result for replaced SMP client, resubscribing" | ||
resubscribe $> L.map (second $ \_ -> Left PCENetworkError) rs | ||
where | ||
tSess = transportSession' smp | ||
notifyUP up = maybe (logError "sndQ full" >> notifyUP up) pure =<< timeout 30000000 (notifySub c "" $ UP srv up) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is going on here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
subQ
may become full, blocking everyone up to subscribe command. Happened in the batch test with 200 subs and no reader.
I've added queue queue flushing here, but may be some indication of queue stalling may be helpful to everyone.
No description provided.