• Andy Wilkinson's avatar
    Avoid capturing URI template when interceptor won't use it · fe078c8a
    Andy Wilkinson authored
    Previously, the URI template handler installed by the client metrics
    interceptor would always capture the URI template and push it onto the
    deque, irrespective of whether auto timing was enabled. When
    auto-timing is disabled the deque is never polled so this led to its
    unrestricted growth.
    
    This commit updates the URI template handler so that a URI template is
    only pushed onto the deque when the auto timing configuration enables
    the interceptor.
    
    Fixes gh-26915
    fe078c8a
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle/wrapper Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...