-
Couldn't load subscription status.
- Fork 41.6k
Provide a configuration property for configuring Tomcat's processor cache #15054
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
1cd39dd
11d0b1d
24fc4b5
dc5eb3d
272fe58
87955a1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -276,6 +276,7 @@ content into your application. Rather, pick only the properties that you need. | |
| server.tomcat.max-threads=200 # Maximum amount of worker threads. | ||
| server.tomcat.min-spare-threads=10 # Minimum amount of worker threads. | ||
| server.tomcat.port-header=X-Forwarded-Port # Name of the HTTP header used to override the original port value. | ||
| server.tomcat.processor-cache= # The maximum number of idle processors that will be retained in the cache and re-used with a subsequent request. The default is 200. A value of -1 means unlimited. | ||
|
||
| server.tomcat.protocol-header= # Header that holds the incoming protocol, usually named "X-Forwarded-Proto". | ||
| server.tomcat.protocol-header-https-value=https # Value of the protocol header indicating whether the incoming request uses SSL. | ||
| server.tomcat.redirect-context-root=true # Whether requests to the context root should be redirected by appending a / to the path. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you but we're not there yet. Could you please look at other keys in
ServerPropertiesfor inspiration? Key description does not start withaortheand can't contain javadoc tags as these are not processed by the annotation processed. We don't document default value either as the value is already set there and made available in the metadata.Looking at your update, this looks ideal to me:
Please note that key descriptions are not meant to copy/paste the official documentation of the thing it's configuring.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, thx for advice