From 0245b24e1ee9c5bdfc4c6f75c1f33bbc121f5eb0 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Thu, 19 Oct 2023 09:53:44 +0000 Subject: [PATCH] give more RAM to the bind demo --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index d0ab1a63..8d600087 100644 --- a/src/main.rs +++ b/src/main.rs @@ -740,7 +740,7 @@ fn test_tcp_bind_async() -> anyhow::Result<()> { })?; } - thread::Builder::new().stack_size(4096).spawn(move || { + thread::Builder::new().stack_size(20000).spawn(move || { async_io::block_on(test_tcp_bind()).unwrap(); })?;