mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Made mesh scheduling fairer
This commit is contained in:
parent
0c9843999b
commit
d2ccbafe59
@ -151,7 +151,7 @@ impl Terrain {
|
||||
.map(|worker_tick| worker_tick < todo.started_tick)
|
||||
.unwrap_or(true)
|
||||
})
|
||||
.min_by_key(|todo| todo.active_worker.unwrap_or(0))
|
||||
.min_by_key(|todo| todo.active_worker.unwrap_or(todo.started_tick))
|
||||
{
|
||||
if client.thread_pool().queued_count() > 0 {
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user