Skip to content

perf: set default WATCHPACK_WATCHER_LIMIT to 20#5486

Merged
hardfist merged 1 commit intomainfrom
perf/watch
Jan 26, 2024
Merged

perf: set default WATCHPACK_WATCHER_LIMIT to 20#5486
hardfist merged 1 commit intomainfrom
perf/watch

Conversation

@hardfist
Copy link
Contributor

@hardfist hardfist commented Jan 26, 2024

Summary

set default WATCHPACK_WATCHER_LIMIT to 20 to improve kill process performance, related to https://github.com/vercel/next.js/pull/51826/files
It takes about 5s+ to kill rspack dev before and instantly kill after set WATCHPACK_WATCHER_LIMIT=20 in my project
Rsbuild seems need this too @chenjiahan

Test Plan

No Need

Require Documentation?

  • No
  • Yes, the corresponding rspack-website PR is __

@github-actions github-actions bot added release: performance release: performance related release(mr only) team The issue/pr is created by the member of Rspack. labels Jan 26, 2024
@hardfist hardfist requested a review from chenjiahan January 26, 2024 09:17
@chenjiahan
Copy link
Member

Get, I will add this to Rsbuild too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: performance release: performance related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants