Class: Messaging::Adapters::Postgres::ReleaseLock
- Inherits:
-
Object
- Object
- Messaging::Adapters::Postgres::ReleaseLock
- Includes:
- MethodObject
- Defined in:
- lib/messaging/adapters/postgres/release_lock.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/messaging/adapters/postgres/release_lock.rb', line 12 def call connection.execute "SELECT pg_advisory_unlock(#{lock_key});" end |