• 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_spec.rb 9.4 KB