Migrate size properties to DataSize
See gh-14549
This commit is contained in:
@@ -263,7 +263,7 @@ content into your application. Rather, pick only the properties that you need.
|
||||
172\\.2[0-9]{1}\\.\\d{1,3}\\.\\d{1,3}|\\
|
||||
172\\.3[0-1]{1}\\.\\d{1,3}\\.\\d{1,3} # Regular expression matching trusted IP addresses.
|
||||
server.tomcat.max-connections=10000 # Maximum number of connections that the server will accept and process at any given time.
|
||||
server.tomcat.max-http-post-size=2097152 # Maximum size in bytes of the HTTP post content.
|
||||
server.tomcat.max-http-post-size=2MB # Maximum size of the HTTP post content.
|
||||
server.tomcat.max-swallow-size=2MB # Maximum amount of request body to swallow.
|
||||
server.tomcat.max-threads=200 # Maximum amount of worker threads.
|
||||
server.tomcat.min-spare-threads=10 # Minimum amount of worker threads.
|
||||
@@ -282,7 +282,7 @@ content into your application. Rather, pick only the properties that you need.
|
||||
server.undertow.accesslog.prefix=access_log. # Log file name prefix.
|
||||
server.undertow.accesslog.rotate=true # Whether to enable access log rotation.
|
||||
server.undertow.accesslog.suffix=log # Log file name suffix.
|
||||
server.undertow.buffer-size= # Size of each buffer, in bytes.
|
||||
server.undertow.buffer-size=0 # Size of each buffer, in bytes.
|
||||
server.undertow.direct-buffers= # Allocate buffers outside the Java heap. The default is derived from the maximum amount of memory that is available to the JVM.
|
||||
server.undertow.eager-filter-init=true # Whether servlet filters should be initialized on startup.
|
||||
server.undertow.io-threads= # Number of I/O threads to create for the worker. The default is derived from the number of available processors.
|
||||
|
||||
Reference in New Issue
Block a user