Skip to content

How to increase message timeout to 5 minutes? #1723

Answered by thjaeckle
dimabarbul asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @dimabarbul

Good question.
The akka.http.server.idle-timeout is configured in Ditto to be 610s by default - can however be overwritten via environment variable IDLE_TIMEOUT.

The other message related increased timeouts you already did set correctly.

However yes .. that hardcoded AKKA_HTTP_TIMEOUT of 2 minutes seems really to break the possibility to increase the effective timeout.
What probably was the intention (I can only speculate) of the AKKA_HTTP_TIMEOUT is to configure the absolute configured maximum timeout (and maybe some seconds more) - but for that the code would have to read out the configured akka.http.server.idle-timeout from the configuration.

The comment also indicates t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dimabarbul
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants