Skip to content

Conversation

@kardasbart
Copy link

Closes #61

While running locally (x86, linux) I get:

` ⨯ ReferenceError: navigator is not defined at getRecommendedWorkersNb (src/lib/engine/worker.ts:50:15) at (src/sections/analysis/states.ts:23:24) 48 | const maxWorkersNbFromThreads = Math.max(
49 | 1,

50 | Math.round(navigator.hardwareConcurrency - 4), | ^ 51 | Math.floor((navigator.hardwareConcurrency * 2) / 3) 52 | );
53 | { `

This PR solves this issue.

@kardasbart kardasbart mentioned this pull request Dec 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

navigator error

1 participant