tweaked rest_connector_method.timeout to rest2019_connector_timeout

This commit is contained in:
hongwei 2019-11-12 22:28:04 +01:00
parent 50f4819112
commit ef4501b660
3 changed files with 3 additions and 3 deletions

View File

@ -646,7 +646,7 @@ featured_apis=elasticSearchWarehouseV300
# -- Rest connector --------------------------------------------
# If Rest Connector do not get the response in the following seconds, it will throw the error message back.
# This props can be omitted, the default value is 59. It should be less than Nginx timeout.
# rest_connector_method.timeout = 59
# rest2019_connector_timeout = 59

View File

@ -13,7 +13,7 @@ import scala.concurrent.Future
object AkkaHttpClient extends MdcLoggable with CustomJsonFormats {
val httpRequestTimeout = APIUtil.getPropsAsIntValue("rest_connector_method.timeout").openOr(59)
val httpRequestTimeout = APIUtil.getPropsAsIntValue("rest2019_connector_timeout").openOr(59)
/**
* This function makes HttpRequest object according to the DB's data related to an account's webhook
* @param uri In most cases it's a URL

View File

@ -3,7 +3,7 @@
### Most recent changes at top of file
```
Date Commit Action
08/11/2019 13d2e88a Added props: rest_connector_method.timeout. This set the timeout for all rest-connector methods. If connector do not get
08/11/2019 13d2e88a Added props: rest2019_connector_timeout. This set the timeout for all rest-connector methods. If connector do not get
response by the specified seconds, then obp will throw the adapter timeout error.
07/11/2019 015d8420 Added props: webui_agree_privacy_policy_html_text makes this text on the sign up page /user_mgt/sign_up configurable.
It has the default html format value.