Class: Messaging::Adapters::Postgres::ReleaseLock

Inherits:
Object
  • Object
show all
Includes:
MethodObject
Defined in:
lib/messaging/adapters/postgres/release_lock.rb

Instance Method Summary collapse

Instance Method Details

#callObject



12
13
14
# File 'lib/messaging/adapters/postgres/release_lock.rb', line 12

def call
  connection.execute "SELECT pg_advisory_unlock(#{lock_key});"
end