Add more documentation to loggerPollingSpeed setting
All checks were successful
build-and-test / test (push) Successful in 1m50s
build-and-test / build (push) Successful in 2m2s
build-and-test / generate-javadoc (push) Successful in 2m3s

This commit is contained in:
JeremyStar™ 2024-09-05 00:47:24 +02:00
parent 770c9b5c6e
commit 4bbc1fd683
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D

View file

@ -218,16 +218,20 @@ public final class EngineConfiguration extends Configuration {
/**
* Contains how fast the logging thread will poll for queued messages.
* This also causes messages to be buffered.
* <p>
* Only applies if {@code optimizeLogging} is turned on.
* Values below {@code 1} will poll for queued messages as fast as it can.
* This however has pretty much no benefit. Leave it at {@code 5}, it works quite well.
*
* @see #optimizeLogging
* @since v1-alpha1
* @since v1-alpha4
* -- GETTER --
* Gets the value for {@link #loggerPollingSpeed}.
*
* @return variable value
* @see #loggerPollingSpeed
* @since v1-alpha1
* @since v1-alpha4
*/
private int loggerPollingSpeed;