-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Updates ioredis to ^5.0.4 #453
Conversation
Unfortunately Redlock is not really compatible yet, mike-marcacci/node-redlock#160 |
Might be worth a fork? node-redlock might be a ghost town |
I'm thinking of just dropping locking there. Any opinions? Scenarios that I have in my head:
If someone really needs to avoid this, they could just put the last store time in the ydoc and check that before doing anything expensive. |
@janthurau what are the downsides of removing the locks? if each instance sends the same message at the same time, could that cause clientside issues? we are also looking into forking and dropping locks as we are running on a cluster, which seems to throw errors when a lock attempts to be acquired twice https://github.com/mike-marcacci/node-redlock#using-clustersentinel |
Hi @jamespantalones , you can try below if you just want to solve require lock errors.
|
e03b12c
to
36abdc1
Compare
6f71fa9
to
dbcdfb8
Compare
I have released v2.1.0-alpha.0 which adds compatibility to ^5.0.4 and removes redlock. Please let me know if that breaks something |
No description provided.