Performance Configuration
Settings under performance: controlling throughput and load.
| Key | Type | Default | Description |
|---|---|---|---|
default-per-tick-limit | int | 20 | Default blocks processed per server tick. |
scan-thread-pool-size | int | 4 | Number of threads used for block scanning. |
dynamic-throttle.enabled | boolean | true | Automatically reduce performance limits when the server is lagging. |
dynamic-throttle.tps-threshold | double | 18.0 | TPS below which throttling activates. |
dynamic-throttle.reduction-factor | double | 0.5 | Multiplier applied to limits while throttling is active. |
Tuning: lower default-per-tick-limit/scan-thread-pool-size for small servers (e.g. 10/2); raise for large servers (e.g. 25/8).
Exampleโ
performance:
default-per-tick-limit: 20
scan-thread-pool-size: 4
dynamic-throttle:
enabled: true
tps-threshold: 18.0
reduction-factor: 0.5