mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00: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.
This commit is contained in:
parent
daa418a287
commit
09d2996451
@ -253,6 +253,7 @@ public class Fawe {
|
||||
} catch (Throwable 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",
|
||||
" - A larger value will use slightly less CPU time",
|
||||
" - 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;
|
||||
|
Loading…
Reference in New Issue
Block a user