Answer the question
In order to leave comments, you need to log in
Is it correct to use the ensure block to call pg_advisory_unlock?
Can a request in a rail complete so that some unreleased lock remains in the pool of connections to the database?
In particular, can ruby crash so that the ensure block is not called and the connection to the database is not closed?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question