Resolved discussion from imbris.

This commit is contained in:
Acrimon 2019-07-12 19:35:11 +02:00
parent ccc7cb2976
commit a72722e5d1

View File

@ -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