mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Resolved discussion from imbris.
This commit is contained in:
parent
ccc7cb2976
commit
a72722e5d1
@ -82,7 +82,7 @@ impl Client {
|
||||
.name("veloren-worker".into())
|
||||
.build();
|
||||
// We reduce the thread count by 1 to keep rendering smooth
|
||||
thread_pool.set_num_threads(num_cpus::get() - 1);
|
||||
thread_pool.set_num_threads((num_cpus::get() - 1).max(1));
|
||||
|
||||
// Set client-only components
|
||||
let _ = state
|
||||
|
Loading…
Reference in New Issue
Block a user