You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the current implementation, a client that connects to a kernel that idles never gets the "idle" message published on IOPub. This can be problematic for clients waiting for such a message before sending any request.
A reliable way to fix this is to implement the Last Value Cache pattern: replace the PUB socket with an XPUB socket, which can detect new subscriptions. We can than implement a cache mechanism that sends again the last message upon new subscription.
We must pay attention to set the XPUB_VERBOSE option to true to be able to detect all new subscriptions, not only those to new topics.
The text was updated successfully, but these errors were encountered:
With the current implementation, a client that connects to a kernel that idles never gets the "idle" message published on IOPub. This can be problematic for clients waiting for such a message before sending any request.
A reliable way to fix this is to implement the Last Value Cache pattern: replace the PUB socket with an XPUB socket, which can detect new subscriptions. We can than implement a cache mechanism that sends again the last message upon new subscription.
We must pay attention to set the
XPUB_VERBOSE
option totrue
to be able to detect all new subscriptions, not only those to new topics.The text was updated successfully, but these errors were encountered: