Closed otbutz closed 6 years ago
We should definitely raise the default timeout. That would be a PR to microservice-wrapper here.
It is already configurable with a section like this in pelias.json
"api": {
"services": {
"pip": {
"url": "http://localhost:3102",
"timeout": 5000
}
}
}
I've just bumped the default timeout up a bit after some similar feedback, and added documentation to pelias/api with clear examples of how to use the config options.
The remote PIP resolver uses the microservice-wrapper with its default config: 250ms timeout, 3 retries
This leads to possible errors during the import if the PIP service is hit with a high amount of queries:
The default timeout value should be raised and made configurable through
pelias.json
.