Enable compression-threads by default

This commit is contained in:
Dylan K. Taylor
2023-11-13 15:07:38 +00:00
parent 671c65d787
commit d35d9e6ecf
2 changed files with 3 additions and 57 deletions

View File

@@ -85,10 +85,10 @@ network:
batch-threshold: 256
#Compression level used when sending batched packets. Higher = more CPU, less bandwidth usage
compression-level: 6
#EXPERIMENTAL! Max threads to use for packet compression. If disabled, compression will be done on the main thread.
#Max threads to use for packet compression. If disabled, compression will be done on the main thread.
#Set to 0 to disable, or "auto" to try to detect the number of available CPU cores.
#Higher values will allow using more CPU cores on large servers, but will also increase memory usage.
compression-threads: 0
#Higher values will allow using more CPU cores, but will also increase memory usage.
compression-threads: auto
#Experimental. Use UPnP to automatically port forward
upnp-forwarding: false
#Maximum size in bytes of packets sent over the network (default 1492 bytes). Packets larger than this will be