79215640

Date: 2024-11-22 15:40:25
Score: 0.5
Natty:
Report link

Found the answer:

@Value("${feign.connectTimeout:10000}") private int connectTimeout;

@Value("${feign.readTimeOut:300000}") private int readTimeout;

@Bean public Request.Options options() { return new Request.Options(connectTimeout, readTimeout); }

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Bean
  • Self-answer (0.5):
  • High reputation (-2):
Posted by: John Little