-
Notifications
You must be signed in to change notification settings - Fork 504
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
services/horizon: Ignore ConnectionTimeout in txsub (#2818)
This commit changes the behaviour of `--connection-timeout` config param. After this change, it is ignored in `txsub` so if the value is less than 30s, `txsub` will still timeout after 30s. If Horizon admin wants to set `--connection-timeout` to a small value it will likely affect `txsub` system because it requires at least 5 seconds on average to report the status of the transaction when it's included in the ledger. Currently the code ignores timeout for all `POST` requests to avoid having to parse the route from request URL.
- Loading branch information
Showing
3 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters