method

Store.FailTask

func (backend *Store) FailTask( ctx context.Context, failure store.TaskFailure, ) error

Public method Store.FailTask from github.com/riducms/ridu/adapters/postgres.

Source adapters/postgres/tasks.go:306

@param ctx
The ctx value.
@param failure
The failure value.
@returns
The declared result.

Related types

  • Store

    A PostgreSQL implementation of Ridu’s document, snapshot, auth, preference, task, job, lock, upload-reference, and migration store contracts.

  • TaskFailure

    One lease-fenced attempt failure and optional retry delay.