timeout property

Duration timeout
final

How long a single check may take.

The failure mode that matters is not a check that refuses, it is one that waits: a database with a dead connection does not answer, and a health endpoint that waits with it is the outage rather than the report of it.

Implementation

final Duration timeout;