Reap Deadline • AI Agent SDK
reap_deadline: Return the absolute time after which the connection is stale.
reap_deadline
Method
</div>
This is a method of the LivenessPolicy class in the protocols module.
Return the absolute time after which the connection is stale.
A connection is reaped when the evaluation-time `now is strictly above this deadline (now > reap_deadline(last_activity)`). Exposed so the server reaper and the client watchdog derive the same window from one advertised interval.
Signature
def reap_deadline(last_activity: float) -> floatParameters
ParamField
floatNo description available.
Returns
ResponseField
floatThe result of the operation.
Used By
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 7291