Comments (1)
Thanks for the issue! You can safely ignore the open file warning, unless you plan to host a web-facing server on Windows. The stack overflow is probably because Rust compiles relatively inefficient code in debug mode and the default stack size in windows is smaller. In the next update, I can introduce some code to request a larger stack for the main thread when running in debug mode.
fn expand_stack(
fut: impl Future<Output = Result<(), Error>> + Send + 'static,
) -> Result<(), Error> {
#[allow(unused_mut)]
let mut builder = Builder::new();
#[cfg(debug_assertions)]
{
builder = builder.stack_size(12_000_000);
}
builder
.spawn(|| {
let runtime = tokio::runtime::Builder::new_current_thread().build().unwrap();
runtime.block_on(fut)
})
.unwrap()
.join()
.unwrap()
}
from mk48.
Related Issues (20)
- A few small suggestions.
- Some advice about boats HOT 3
- Sub detection by ships without sub attacking cpabilities HOT 2
- Scuttle ship button HOT 1
- Shorten dredger build decay times or remve them completely. HOT 1
- Sub and exp suggestions HOT 6
- Rocket torpedo is totally worthless HOT 4
- Destroyer stealth overpowered vs sub HOT 2
- Button Keybinds on Hover HOT 1
- Possible script error browser HOT 2
- Static client HOT 5
- Sprite Packer Issues HOT 1
- please add these ships to the game
- Debug commands HOT 1
- 游戏操作异常 HOT 2
- Player was banned without reason HOT 8
- debug server panicked immediately HOT 1
- Emoji Picker
- Ice reagion being in the wrong area HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mk48.