Browse Source

Merge pull request #1198 from pelias/service-configuration-docs

feat(docs): Add examples of using service `timeout` and `retry` settings
nodejs10
Julian Simioni 6 years ago committed by GitHub
parent
commit
2dd2f88ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      README.md

5
README.md

@ -66,7 +66,9 @@ A good starting configuration file includes this section (fill in the service an
"url": "http://libpostal:8080"
},
"pip": {
"url": "http://pip-service:4200"
"url": "http://pip-service:4200",
"timeout": 1000,
"retries": 2
},
"interpolation": {
"url": "http://interpolation:4300"
@ -77,6 +79,7 @@ A good starting configuration file includes this section (fill in the service an
"level": "debug"
}
}
The `timeout` and `retry` values, as showin in the `pip` service section, are optional but configurable for all services (see [pelias/microservice-wrapper](https://github.com/pelias/microservice-wrapper) for more details).
```

Loading…
Cancel
Save