宋悦 пре 7 година
родитељ
комит
fbd9bf1ab8
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4 0
      exam-work-main/src/main/resources/application.properties

+ 4 - 0
exam-work-main/src/main/resources/application.properties

@@ -24,6 +24,10 @@ spring.application.name=ExamCloud-service-exam-work
 server.port=8001
 eureka.client.serviceUrl.defaultZone=http://localhost:1111/eureka/
 hystrix.command.default.execution.timeout.enabled=false
+# Increase the Hystrix timeout to 600s (globally)
+hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds: 600000
+ribbon.ReadTimeout=800000
+ribbon.ConnectTimeout=800000
 
 app.api.root=/api/ecs_exam_work
 app.api.core=/api/ecs_core