Skip to content

Soft timeout notice #3230

@Drup

Description

@Drup

Currently, opam kills the solver when the timeout is exceeded.

As someone who really likes to do opam install ocaml-base-compiler <pkg> when installing a new switch for a package I want (which tends to take a long time for the solver), this is a bit annoying: it means that I have to restart from scratch with a bigger timeout value.

What I would prefer is that opam, when reaching the timeout value, would show a dialog option like this:

The solver has been running for X minutes (as set by OPAMSOLVERTIMEOUT). 
You might want to try to specify a simpler request, use a different solver. 
Press a key to interrupt it now. [] 

This way, I can let it run its course if I want to.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions