개별 회로 차단기를 사용자 정의하여 호출별 타임아웃 설정
This commit is contained in:
@@ -116,7 +116,6 @@ public class MemberController {
|
||||
value="5000")}) // 회로차단기의 타임아웃 시간을 5초로 설정*/
|
||||
@GetMapping(value = "timeout/{name}")
|
||||
public String timeout(ServletRequest req, @PathVariable("name") String name) {
|
||||
logger.debug("LicenseService.getLicensesByOrg Correlation id: {}", CustomContextHolder.getContext().getCorrelationId());
|
||||
return "[MEMBER] " + eventRestTemplateClient.gift(name) + " / port is " + req.getServerPort();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user