srs / gradle-node-plugin

Gradle plugin for integrating NodeJS in your build. :rocket:
Apache License 2.0
867 stars 210 forks source link

Support for limit on parallel task runs #381

Closed iamrakesh closed 1 year ago

iamrakesh commented 1 year ago

We use this plugin (an older version) to execute npm scripts in our builds and with Gradle parallel run enabled. npm script we execute spawn multiple node.exe processes resulting very high CPU usage, which in turn slows down task execution.

Would it be possible to have limit on parallel NpmTask runs ?

deepy commented 1 year ago

Maybe a shared build service with limits on concurrent access could work?

But this repository is as far as I know abandoned, see https://github.com/srs/gradle-node-plugin/issues/315 for the history and the maintained fork

iamrakesh commented 1 year ago

@deepy I'll try shared build service approach. This repo is indeed abandoned and I missed to check that. Thank you (y)