mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[PR #261] [MERGED] Fix: Only create large stack size if enough memory #390
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/bootandy/dust/pull/261
Author: @bootandy
Created: 8/29/2022
Status: ✅ Merged
Merged: 8/31/2022
Merged by: @bootandy
Base:
master← Head:fix_error_on_thread_creation5📝 Commits (1)
2231e2dFix: Only create large stack size if enough memory📊 Changes
3 files changed (+61 additions, -7 deletions)
View changed files
📝
Cargo.lock(+40 -1)📝
Cargo.toml(+2 -1)📝
src/main.rs(+19 -5)📄 Description
Small boxes do not have enough memory to create a large stack
Conversely we want a large stack size for large boxes with a very highly
nested directory structure.
This new check for checking System memory is slow, adds ~ 100ms to runtime.
Version: New version
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.