Skip to content

Commit

Permalink
Fixed code review
Browse files Browse the repository at this point in the history
Signed-off-by: MASSAOUDI YOUSSEF <youssef.massaoudi@rte-france.com>
  • Loading branch information
MASSAOUDI YOUSSEF committed Apr 29, 2019
1 parent 209bb47 commit d92ee90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/configuration/modules/remote-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,21 @@ The `autoreconnect-enabled` property is an optional property that defines if the

## reconnection-initial-interval

The `reconnection-initial-interval` property is an optional property that defines the initial interval (in seconds) before the first reconnection. Its default values is 5.
The `reconnection-initial-interval` property is an optional property that defines the initial interval (in seconds) before the first reconnection. Its default value is `5`.

## reconnection-interval-mutiplier

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 values is 2.
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

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-max-interval` 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.

## reconnection-max

The `reconnection-max` property is an optional property that that defines the maximum times in seconds before abandoning the attempts to reconnect. Its default value is Integer.MAX_VALUE.
The `reconnection-max` property is an optional property that that defines the maximum times in seconds before abandoning the attempts to reconnect. Its default value is `Integer.MAX_VALUE`.

# Examples

Expand Down

0 comments on commit d92ee90

Please sign in to comment.