-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Remove Advisory lock #25
Conversation
...and to scope locking or in the worst case record locking where a scope doesn't exist.
@fractaledmind, sorry this is a little out of the blue, but I wondered if you had any thoughts about why my sqlite tests might be deadlocking? I've had a go at integrating your gem but there still appears to be a problem. The problem test in particular is: positioning/test/test_positioning.rb Lines 31 to 51 in 25fcdca
I'd love to keep sqlite as a compatible database for this gem but am getting close to dropping it as the ability to keep the list ordering clean is the primary purpose of this library :) I frequently encountered your work on getting sqlite working well in production for Rails. Well done! :) |
Let me dig in tonight and get back to you. |
Thanks @fractaledmind :D |
Hi @brendon, I was running the tests earlier and I had to increase the pool size to 20 in |
Thanks @rossme, that doesn't seem to have helped in the CI environment. I feel like there's something different about it vs the Mac environment. |
Thank you for your kind words too! :D |
Managed to remove |
Also managed to remove the Has anyone tried these modifications in production? |
I've merged this into |
This is in favour of scope locks or locking all the records in a table if no scope exists.