Skip to content

Commit

Permalink
Use a 2s timeout for set-commands
Browse files Browse the repository at this point in the history
  • Loading branch information
LeventErkok committed Nov 30, 2023
1 parent b6cfa66 commit 9240646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/SBV/SMT/SMT.hs
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ runSolver cfg ctx execPath opts pgm continuation
return collated

where safeGetLine isFirst h =
let timeOutToUse | isSetCommand mbCommand = Just 1000000
let timeOutToUse | isSetCommand mbCommand = Just 2000000
| isFirst = mbTimeOut
| True = Just 5000000
timeOutMsg t | isFirst = "User specified timeout of " ++ showTimeoutValue t ++ " exceeded"
Expand Down

0 comments on commit 9240646

Please sign in to comment.