Skip to content

Commit 983b75e

Browse files
committed
Basic: Turn off solver expression time threshold by default
The check is expensive, the default of 10 minutes is absurd, and the existing scope/trail/memory limits should now be sufficient.
1 parent 5ee97c5 commit 983b75e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/swift/Basic/LangOptions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ namespace swift {
852852

853853
/// If non-zero, abort the expression type checker if it takes more
854854
/// than this many seconds.
855-
unsigned ExpressionTimeoutThreshold = 600;
855+
unsigned ExpressionTimeoutThreshold = 0;
856856

857857
/// The upper bound, in bytes, of temporary data that can be
858858
/// allocated by the constraint solver.

0 commit comments

Comments
 (0)