• Adam Hegyi's avatar
    Remove PG warning with with_lock_retries · c5e8aef3
    Adam Hegyi authored
    This change prevents disabling idle transaction timeout when no outer
    transaction is present. This prevents the following error message:
    
    "WARNING:  SET LOCAL can only be used in transaction blocks"
    c5e8aef3
with_lock_retries.rb 6.93 KB