File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ The [ServiceConfiguration](https://github.com/pelias/microservice-wrapper/blob/m
37
37
| property | required | default | description |
38
38
| --- | --- | --- | --- |
39
39
| ` baseUrl ` | no | none | the base URL used for contacting a service, causes ` isEnabled() ` to return ` false ` when an empty string |
40
- | ` timeout ` | no | ` 250 ` | the number of milliseconds a request should wait for a server response before timing out |
40
+ | ` timeout ` | no | ` 1000 ` | the number of milliseconds a request should wait for a server response before timing out |
41
41
| ` retries ` | no | ` 3 ` | the number of retries to attempt before returning an error |
42
42
43
43
Requests are logged at the ` debug ` level when enabled in [ pelias-config] ( https://github.com/pelias/config ) .
@@ -99,7 +99,7 @@ demoService.getHeaders(req) === {
99
99
| ` getUrl ` | yes | value of ` getBaseUrl ` unless overridden | used for appending other value to the baseUrl (but not request parameters) |
100
100
| ` getParameters ` | yes| ` {} ` unless overridden | any request parameters to pass to the microservice |
101
101
| ` getHeaders ` | yes | ` {} ` unless overridden | any request headers to pass to the microservice |
102
- | ` getTimeout ` | not recommended | ` 250 ` or value passed to constructor | how long a request should wait for a server response before timing out |
102
+ | ` getTimeout ` | not recommended | ` 1000 ` or value passed to constructor | how long a request should wait for a server response before timing out |
103
103
| ` getRetries ` | not recommended | ` 3 ` or value passed to constructor | how many attempts should be made before returning an error |
104
104
105
105
#### Recommended ` ServiceConfiguration ` Method Overrides
You can’t perform that action at this time.
0 commit comments