Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change config value akka.http.server.request-timeout to 45s #456

Closed
dlarson04 opened this issue Jan 27, 2021 · 1 comment
Closed

Change config value akka.http.server.request-timeout to 45s #456

dlarson04 opened this issue Jan 27, 2021 · 1 comment
Assignees

Comments

@dlarson04
Copy link

Under load, I have found that setting

  "akka": {
          "akka.http.server.request-timeout": "45s"
}

in the Exchange config.json file eliminates many of the akka read timeouts. The default is 20 sec. When a timeout occurs, the agent has to retry so reducing the timeouts will reduce load on the exchange & exchangedb.

@bmpotter
Copy link
Member

bmpotter commented Feb 4, 2021

Implemented in PR #461 and docker image openhorizon/amd64_exchange-api:2.60.0 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants