Как настроить свойства Undertow в JoinFaces / Spring Boot?

Немного информации об этом ключевом слове

Давайте перечислим ключевое слово this на консоль в глобальной области без кода, но

console.log(this)

В Client / Browser this ] - глобальный объект, который является window

console.log(this === window) // true

и

В ключевом слове Server / Node / Javascript this также является глобальным объектом, который является module.exports

console.log(this === module.exports) // true
console.log(this === exports) // true

Имейте в виду, что exports - это просто ссылка на module.exports

1
задан Melloware 3 March 2019 в 13:16
поделиться

1 ответ

Смотрите здесь: https://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html

Я вижу только эти свойства доступны для Undertow.

server.undertow.accesslog.dir= # Undertow access log directory.
server.undertow.accesslog.enabled=false # Whether to enable the access log.
server.undertow.accesslog.pattern=common # Format pattern for access logs.
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.
server.undertow.direct-buffers= # Whether to 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.
server.undertow.max-http-post-size=-1B # Maximum size of the HTTP post content. When the value is -1, the default, the size is unlimited.
server.undertow.worker-threads= # Number of worker threads. The default is 8 times the number of I/O threads.

Похоже, вам придется запросить проблему по проблемам Spring Boot Undertow, чтобы они добавили ее!

Запросите здесь: https://github.com/ весна-проекты / весна загрузки / вопросы

0
ответ дан Melloware 3 March 2019 в 13:16
поделиться
Другие вопросы по тегам:

Похожие вопросы: