Replies: 1 comment
-
Found a problem with this solution: when the cache gets cleaned (in case of disconnection and reconnect later after cache timeout) while the editor remains open. In this situation the text in editor gets corrupted. Solution to be tested: additional changes would be required on the plugin to handle reconnecting to the websocket server |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
To use the collaboration, sometimes we want to clean room cache, so after a timeout, we don't restore documents from past collaboration sessions.
There is some trick to do do clean y-websockets cache.
After a few hours, I found the tricks, here is the node script that ensures the cache gets cleaned after a timeout.
Note that you must start the server with persistence, otherwise Y does not clean the cache.
server.txt
Beta Was this translation helpful? Give feedback.
All reactions