Packages

A background job library for Gleam and Postgres!

Current section

Files

Jump to
m25 include m25@internal@sql_CancelJobRow.hrl
Raw

include/m25@internal@sql_CancelJobRow.hrl

-record(cancel_job_row, {
id :: youid@uuid:uuid(),
queue_name :: binary(),
created_at :: gleam@time@timestamp:timestamp(),
scheduled_at :: gleam@time@timestamp:timestamp(),
input :: binary(),
reserved_at :: gleam@time@timestamp:timestamp(),
started_at :: gleam@time@timestamp:timestamp(),
cancelled_at :: gleam@time@timestamp:timestamp(),
finished_at :: gleam@time@timestamp:timestamp(),
timeout :: integer(),
status :: binary(),
output :: binary(),
deadline :: gleam@time@timestamp:timestamp(),
latest_heartbeat_at :: gleam@time@timestamp:timestamp(),
failure_reason :: binary(),
error_data :: binary(),
attempt :: integer(),
max_attempts :: integer(),
original_attempt_id :: youid@uuid:uuid(),
previous_attempt_id :: youid@uuid:uuid(),
retry_delay :: integer(),
unique_key :: binary(),
cancel_outcome :: binary()
}).