Skip to content

Add timeout / retry limit to safely_acquire_lock_for_table #127

@rkrage

Description

@rkrage

As it stands, if there are consistent blocking queries against a table, safely_acquire_lock_for_table will loop indefinitely trying to acquire the lock. Would it make sense for this method to optionally take a timeout / retry limit argument such that it eventually exits and raises an error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions