Skip to content

Commit

Permalink
Update remote-service.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yasmas95 authored Apr 9, 2019
1 parent c26cc98 commit 757d780
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/configuration/modules/remote-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ The `reconnection-initial-interval` property is an optional property that define

The `reconnection-interval-mutiplier` property is an optional property that is used to increase the waiting interval between two reconnection attempts, for example if we wait 5 seconds for the first retry, we will then wait 5*reconnection-interval-mutiplier seconds before the second retry. Its default value is `2`.

## reconnection-max-interval
## reconnection-timeout

The `reconnection-max-interval` property is an optional property that that defines the max interval in seconds between two reconnections. Its default value is `3600`.
The `reconnection-timeout` property is an optional property that that defines the max interval in seconds between two reconnections. Its default value is `3600`.
With the default parameters, there would be no reconnection attempt.
With `autoreconnect-enabled` set to `true` and the other parameters set to default values, in the case of a disconnection, the reconnection attempts would occur after 5", then 10", 20", 40", 1'20", 2'40" .... etc incresing until a maximum of one hour interval. after reconnection max intenal, the reconnection will be re-attempted every hour.
With `autoreconnect-enabled` set to `true` and the other parameters set to default values, in the case of a disconnection, the reconnection attempts would occur after 5", then 10", 20", 40", 1'20", 2'40" .... etc incresing until a maximum of one hour interval. after reconnection timeout, the reconnection will be re-attempted every hour.

## reconnection-max

Expand All @@ -65,7 +65,7 @@ remote-service:
autoreconnect-enabled: false
reconnection-initial-interval: 5
reconnection-interval-mutiplier: 2
reconnection-max-interval: 3600
reconnection-timeout: 3600
reconnection-max: 2147483647
```
Expand All @@ -79,7 +79,7 @@ remote-service:
<autoreconnect-enabled>false</autoreconnect-enabled>
<reconnection-initial-interval>5</reconnection-initial-interval>
<reconnection-interval-mutiplier>2</reconnection-interval-mutiplier>
<reconnection-max-interval>3600</reconnection-max-interval>
<reconnection-max-interval>3600</reconnection-timeout>
<reconnection-max>2147483647</reconnection-max>
</remote-service>
```

0 comments on commit 757d780

Please sign in to comment.