Skip to content

Treat session errors as regular request retries and drop max_session_rotations #2136

Description

@vdusek

SessionError has its own retry budget via max_session_rotations, on top of max_request_retries, which makes the effective retry count hard to reason about. JS v4 removed the separate budget: a session error retires the session and counts as a normal retry. Dropping use_session_pool (the pool is always on) belongs to the same cleanup.

JS implementation: apify/crawlee#3631, apify/crawlee#3478

✍️ Drafted by Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    debtCode quality improvement or decrease of technical debt.t-toolingIssues with this label are in the ownership of the tooling team.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions