Skip to content

Conversation

Simon-Weij
Copy link
Contributor

In the installer it lets you select a certain amount of cores, but it actually means the amount of threads. I fixed it :D

Copy link

Connected to Huly®: WB-113

@TibixDev
Copy link
Owner

Thanks, is Configuration.vue also affected?

@Simon-Weij
Copy link
Contributor Author

It didn't, thanks for the catch. I now updated it and it should reflect everywhere

@TibixDev
Copy link
Owner

I wonder, would the container support specifying threads instead of cores, have you tested this behaviour? If not, maybe the correction should strive towards fetching cores instead of threads, not the opposite as we have now.

@Simon-Weij
Copy link
Contributor Author

The code's functionality didn't change, all I've done is renaming cores to threads, it previously said the amount of cores as the amount of threads. I for example have 6 cores, but the program said "12 cores" which actually means the amount of threads. So functionally it works the same. But I just correctly named it "threads"

@Simon-Weij
Copy link
Contributor Author

This current version works fine now, but it isn't backwards-compatiable, so people upgrading will either have to change docker-compose.yml from cores to threads, or fully reinstall.

@Levev
Copy link
Collaborator

Levev commented Sep 14, 2025

This PR breaks functionality.

We use dockur/windows for the VM, which is built on top of the qemu docker image. It expects the field CPU_CORES under environment to specify the number of "CPU cores" used, as per their readme.

@Levev Levev requested review from Levev and TibixDev and removed request for Levev September 15, 2025 20:48
@Simon-Weij
Copy link
Contributor Author

Does dockur/windows wrongly say cores instead of threads?

@Simon-Weij Simon-Weij closed this by deleting the head repository Sep 27, 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.

3 participants