79768864

Date: 2025-09-18 19:48:24
Score: 0.5
Natty:
Report link

When having this issue in tests of a Spring Boot application using Feign one can solve it just by adding following property:

spring.cloud.openfeign.httpclient.time-to-live=0

This effectively turns off TCP connection pooling by Apache HttpClient used by Feign. See: https://github.com/wiremock/wiremock/issues/97#issuecomment-1251105611

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
Posted by: Krzysztof Tomaszewski