IdlePolicy
class IdlePolicy
Configuration that controls MicroVM auto-suspend and auto-resume behavior. Idle time is measured by inbound traffic through the MicroVM proxy endpoint — if no requests arrive within the configured duration, the MicroVM is suspended.
Types
Properties
Link copied to clipboard
Indicates whether the MicroVM automatically resumes when it receives a request while suspended.
Link copied to clipboard
The maximum time in seconds that a MicroVM can remain idle before it is automatically suspended.
Link copied to clipboard
The maximum time in seconds that a MicroVM can remain suspended before it is automatically terminated.