Aleksandr Leontev

Results 1 issues of Aleksandr Leontev

Why do you use `pg_try_advisory_lock` and not just simple `pg_advisory_lock` which will avoid polling in SQL? You can plan with this example: ```ruby def with_advisory_lock(lock_id) execute("SELECT pg_advisory_lock(#{lock_id})") yield ensure execute("SELECT...