Skip to content

Allow per-route request handler timeouts and extending the timeout from the handler #2130

Description

@vdusek

Python already separates the navigation and request handler timeouts, but request_handler_timeout applies uniformly to every request: Router.handler() (src/crawlee/router.py) takes no per-route override, and SharedTimeout (src/crawlee/_utils/time.py) offers no way to extend an already-running budget. Add both, so a single route can get a larger timeout and a handler can buy more time once it knows how much work it faces.

JS implementation: apify/crawlee#3860

✍️ Drafted by Claude Code

Activity

  1. added
    enhancementNew feature or request.
    t-toolingIssues with this label are in the ownership of the tooling team.
    on Aug 7, 2026
  2. added this to the 2.0 milestone on Aug 7, 2026
  3. self-assigned this
    on Oct 28, 2026
  4. added a commit that references this issue on Nov 17, 2026
    427d798
  5. vdusek commented on Nov 17, 2026

    @vdusek
    CollaboratorAuthor

    resolved by #2429

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request.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