forked from pelias/api
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(config): Remove default timeout and retry values
The `pelias.json` schema validation in the API has been setting default values for the `timeout` and `retries` parameters used for network calls to each of the other Pelias services. Years ago, in pelias/microservice-wrapper#30, we determined that the original defaults of 250ms were too low. However, the schema defaults were still using this 250ms value, which means they were effectively overriding the new, more sensible default of 1000ms in the microservice-wrapper library. This change removes the defaults for both the `timeout` and `retries` values from the Pelias API, meaning the defaults set in the `microservice-wrapper` itself will be used.
- Loading branch information
1 parent
44fed98
commit dcae46d
Showing
2 changed files
with
11 additions
and
11 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