webdis
webdis copied to clipboard
question: subscribe on websocket
i am sorry but it is not clear on the README does websocket implements subscribe?
They do, but websockets were implemented while the protocol was still under development and I would not recommend using this feature. It is half-baked and probably unsafe, which is why it is disabled by default.
Should be fixed by #156
@paranic You may try it again with the recent Version.
How can I set the Websocket = true inside the Docker image?
@AllanOricil you'll need to change the config file and rebuild the docker image. Alternatively you can start from an existing docker image and use RUN
with sed
to change the boolean from false
to true
and tag an image from that.
Is this now safe to use? Thanks
@zak-b2c2 I have not made any changes to the implementation since this comment, and am unlikely to be able to work on this in the near future.
I would not recommend using this feature.
Understood, thanks for the clarification
RUN sed -i '2i"websockets": true,' /etc/webdis.prod.json