Skip to content

pipe.function_timed_out

The method's function ran past its time limit

Type https://mthds.ai/errors/pipe.function_timed_out
Family pipe: A pipe failing at run time because of what the method does.
Domain method: the method's author acts, by changing the method
Retry no: repeating the operation fails the same way
HTTP status 422
Raised as a problem document, sent as the body of an HTTP response or kept in a run's record

What it means

A PipeFunc's function ran longer than the runtime lets one run.

What to do

Make the function do less work per call, such as by splitting it across a PipeBatch, or move its slow part out of the method.

Next steps

A problem carries the step aimed at whoever reads it: the first when its reader is the domain's actor, the method's author, and the second for any other reader.

Reader Kind Detail
The domain's actor change_method Make the function '{function}' finish within {timeout} seconds, then run the method again.
Any other reader contact_owner Ask the method's owner to make the function '{function}' finish in time.

Detail

The problem's detail is written from this template, filled with the occurrence's parameters:

The function '{function}' of pipe '{pipe}' ran past its limit of {timeout} seconds.

Parameters

Every parameter is present on every occurrence of the code.

Name Type Description
pipe identifier The PipeFunc whose function timed out.
function identifier The function's import path.
timeout seconds The time limit it passed.

See also