Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-03 01:50:07 +01:00
Don't accept values smaller than parallel threads for target size
- Smaller than parallel threads implies any time any thread tries to do anything, another thread must cancel its work, and the chunk is submitted.
Dieser Commit ist enthalten in:
Ursprung
daa418a287
Commit
09d2996451
@ -253,6 +253,7 @@ public class Fawe {
|
|||||||
} catch (Throwable e) {
|
} catch (Throwable e) {
|
||||||
LOGGER.error("Failed to load config.", e);
|
LOGGER.error("Failed to load config.", e);
|
||||||
}
|
}
|
||||||
|
Settings.IMP.QUEUE.TARGET_SIZE = Math.max(Settings.IMP.QUEUE.TARGET_SIZE, Settings.IMP.QUEUE.PARALLEL_THREADS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -293,7 +293,8 @@ public class Settings extends Config {
|
|||||||
" - FAWE will start placing before all calculations are finished",
|
" - FAWE will start placing before all calculations are finished",
|
||||||
" - A larger value will use slightly less CPU time",
|
" - A larger value will use slightly less CPU time",
|
||||||
" - A smaller value will reduce memory usage",
|
" - A smaller value will reduce memory usage",
|
||||||
" - A value too small may break some operations (deform?)"
|
" - A value too small may break some operations (deform?)",
|
||||||
|
" - Values smaller than the configurated parallel threads are not accepted"
|
||||||
|
|
||||||
})
|
})
|
||||||
public int TARGET_SIZE = 64;
|
public int TARGET_SIZE = 64;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren