Skip to main content

EventLoopSnapshot

crawlee._autoscaling.types.EventLoopSnapshot

Snapshot of the state of the event loop.

Args: delay: The current delay of the event loop. max_delay: The maximum delay that is considered acceptable. created_at: The time at which the measurement was taken.

Index

Properties

created_at

created_at: datetime

delay

delay: timedelta

is_overloaded

is_overloaded: bool

Returns whether the event loop is considered as overloaded.

max_delay

max_delay: timedelta

max_delay_exceeded

max_delay_exceeded: timedelta

Returns the amount of time by which the delay exceeds the maximum delay.