Pollard.Lock.Postgres (pollard v0.1.0)

Copy Markdown View Source

Lock strategy using Postgres advisory locks.

This is the recommended strategy for Postgres-backed applications. Advisory locks are lightweight — they don't hold any table or row locks — which is important because transforms can run for minutes on large datasets.

Options

  • :lock_key - The integer key for the advisory lock. Defaults to 839_712_541.