Skip to content

Commit 2a62eea

Browse files
stepanchegfacebook-github-bot
authored andcommitted
Increase max stack size to 50
Summary: Increase starlark stack size from 40 to 50. Reviewed By: bobyangyf Differential Revision: D38712853 fbshipit-source-id: efb67632088dfea270f3209641244a6223c3d500
1 parent dc3d989 commit 2a62eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

starlark/src/eval/runtime/call_stack.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl<'v> Default for CheapCallStack<'v> {
191191
// [1] https://docs.rs/tokio/0.2.1/tokio/runtime/struct.Builder.html#method.thread_stack_size
192192
// TODO(nga): count loops in call stack size.
193193
// TODO(nga): make it configurable.
194-
const MAX_CALLSTACK_RECURSION: usize = 40;
194+
const MAX_CALLSTACK_RECURSION: usize = 50;
195195

196196
unsafe impl<'v> Trace<'v> for CheapCallStack<'v> {
197197
fn trace(&mut self, tracer: &Tracer<'v>) {

0 commit comments

Comments
 (0)