Skip to content

Commit

Permalink
Merge pull request #20498 from AfraHussaindeen/master_thread_threshol…
Browse files Browse the repository at this point in the history
…d_config_fix

Allow CarbonStuckThreadDetectionValve's threshold to be configurable.
  • Loading branch information
AfraHussaindeen authored Jun 14, 2024
2 parents 6ca7173 + 780db90 commit 8df39af
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,10 @@
prefix="{{http_access_log.prefix}}" suffix="{{http_access_log.suffix}}" pattern="{{http_access_log.pattern}}"/>
{% endif %}
<Valve className="org.wso2.carbon.extension.identity.x509Certificate.valve.X509CertificateAuthenticationValve"/>
<Valve className="org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve" threshold="600"/>
<Valve
className="org.wso2.carbon.tomcat.ext.valves.CarbonStuckThreadDetectionValve"
threshold="{{catalinaValves.CarbonStuckThreadDetectionValve.threshold | default('600')}}"
/>
<Valve className="org.wso2.carbon.tomcat.ext.valves.CompositeValve"/>

<!-- OAuthAppTenantResolverValve is required to be invoked when tenant qualified urls are disabled. This should be invoked before the AuthenticationValve -->
Expand Down

0 comments on commit 8df39af

Please sign in to comment.