Skip to content

[feature request] Built-in command timeout support #94

@vadimkantorov

Description

@vadimkantorov

Currently solutions like

have to kill the REPL processes whenever a verification command times out.

This leads to having to restart the REPL process which means re-importing mathlib (currently leading to ~100K I/O syscalls which can stall the server and can increase because of leanprover/lean4#8092).

Would it be possible to natively add timeout option to the JSON commands? I only found a mention that native set_option timeout is not supported by Lean: https://leanprover-community.github.io/archive/stream/113488-general/topic/deterministic.20timeout.html#244454654

If REPL supports natively timeout control, REPL processes would need to be killed and restarted much fewer times

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions