Skip to main content

errback_old_style

Increments a request count in Redis for the specified request ID and returns the ID.

def errback_old_style(
request_id: string
) - > string

Increments the error count in Redis for a specific request and returns the identifier. This function is typically used as a Celery errback to track failed asynchronous tasks.

Parameters

NameTypeDescription
request_idstringThe unique identifier for the specific request being tracked in Redis

Returns

TypeDescription
stringThe unique identifier of the request that triggered the error callback