Skip to content

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.

number

The maximum ingress expiry time in minutes.

number

The time difference in milliseconds to adjust the expiry.

Expiry

The calculated ingress expiry as an Expiry object.