Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU Count not Detectable #252

Closed
pprossi opened this issue Nov 27, 2017 · 2 comments
Closed

CPU Count not Detectable #252

pprossi opened this issue Nov 27, 2017 · 2 comments
Assignees

Comments

@pprossi
Copy link

pprossi commented Nov 27, 2017

Hi, have you any quick fix for this os.cpus().length not workin problem?
https://github.com/jkphl/svg-sprite/pull/217/files

at this point?
https://github.com/jkphl/svg-sprite/blob/4db3f3e34835907318d38eb3acd2d38427c511d4/lib/svg-sprite.js#L322

@jkphl jkphl self-assigned this Mar 17, 2018
@jkphl
Copy link
Collaborator

jkphl commented Mar 17, 2018

@pprossi Should be fixed as of 6d66f9f

@jkphl jkphl closed this as completed Mar 17, 2018
@pprossi
Copy link
Author

pprossi commented Mar 19, 2018

Hi, no it is'nt... couse the 'os.cpus' command returns unknown....
That was the fix you mentiont here. It returns fix number of cpus if the command is not available.

here you use static the command without fallback...
but i have no time at the moment to test if you can use this._spriter._limit at this point...

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

No branches or pull requests

2 participants