CalculateIngressExpiry
calculateIngressExpiry(
maxIngressExpiryInMinutes
,timeDiffMsecs
):Expiry
Defined in: packages/agent/src/agent/http/index.ts:1397
Calculates the ingress expiry time based on the maximum allowed expiry in minutes and the time difference in milliseconds.
Parameters
Section titled “Parameters”maxIngressExpiryInMinutes
Section titled “maxIngressExpiryInMinutes”number
The maximum ingress expiry time in minutes.
timeDiffMsecs
Section titled “timeDiffMsecs”number
The time difference in milliseconds to adjust the expiry.
Returns
Section titled “Returns”The calculated ingress expiry as an Expiry object.