Skip to content

Prefer transaction-level locks instead of session-level locks #530

@thomasjiangcy

Description

@thomasjiangcy

Currently, workers use session-level advisory locks. This makes workers incompatible with pgBouncer and requires a direct connection to Postgres.

It would be great if we can move workers to use transaction-level locks because the current implementation doesn't seem to require session-level locks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions