ExShopifyApp.AccessToken.Repo.Options (ex_shopify_app v1.0.0)
Reads call options for ExShopifyApp.AccessToken.Repo and applies their defaults.
See the ExShopifyApp.AccessToken.Repo "Options" section for the full list and
semantics.
Summary
Functions
Hard-expiry skew in seconds (default 60).
Soft-window opts passed to ExShopifyApp.AccessToken.Token.stale?/3 (default []).
Whether to serve a still-valid old token when a refresh fails (:stale_while_error, default false).
Repo.transaction/2 options derived from :timeout (empty list when unset).
Invoke fun with the :lock_timeout in milliseconds when one is configured.
Functions
Hard-expiry skew in seconds (default 60).
Soft-window opts passed to ExShopifyApp.AccessToken.Token.stale?/3 (default []).
Whether to serve a still-valid old token when a refresh fails (:stale_while_error, default false).
Repo.transaction/2 options derived from :timeout (empty list when unset).
Invoke fun with the :lock_timeout in milliseconds when one is configured.
Returns :ok and skips fun when no :lock_timeout is set. Keeps the actual
SET LOCAL lock_timeout query in the caller so this module stays repo-agnostic.