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
I would imagine the below code should shutdown the server after it's done. Instead the server process is left running. Leaving out either the subscribe or the publish results in the server shutting down cleanly.
import redislite
r = redislite.StrictRedis()
p = r.pubsub()
p.subscribe("chan")
r.publish("chan", "")
p.close()
(Tested with version 3.2.311)
The text was updated successfully, but these errors were encountered:
I would imagine the below code should shutdown the server after it's done. Instead the server process is left running. Leaving out either the subscribe or the publish results in the server shutting down cleanly.
(Tested with version 3.2.311)
The text was updated successfully, but these errors were encountered: