Skip to content

Commit

Permalink
Update worker.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo-Besancon committed Jul 17, 2024
1 parent 69ce2dc commit ae3c2e2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion massa-execution-worker/src/worker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,11 @@ pub fn start_execution_worker(

// launch the execution thread
let input_data_clone = input_data.clone();

// We set the stack size to 200 Mb instead of the default 2 Mb
// as a temporary workaround fully fixed by https://github.com/massalabs/massa/pull/4729
let thread_builder = thread::Builder::new()
.stack_size(200 * 1024 * 1024) //200 Mb stack size
.stack_size(200 * 1024 * 1024)
.name("execution".into());
let thread_handle = thread_builder
.spawn(move || {
Expand Down

0 comments on commit ae3c2e2

Please sign in to comment.