Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
d-shapiro authored Jan 15, 2020
1 parent 9295e68 commit c37de90
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,12 @@ A local test run requires a broker to be actively running.

Running: <br />
`./gradlew run -Dexec.args="--broker http://localhost:8080/conn"`

## Watch Group Logging Type Settings

There are four possible values for the `Logging Type` of a watch group:
- `None`: Nothing will be logged
- `Interval`: Logging will happen on an interval (defined by the `Interval` setting)
- `All Data` and `Point Change`: Logging will happen for every update of the path's value
- The only difference between `All data` and `Point Change` is that `Point Change` will ignore an update if the value is the same as the last recorded value (in this run of the program). Since dglux only sends subscription updates on value changes (and once on the start of the subscription), this means there's not really any difference, aside from maybe some edge cases.
- Possibly important to note: Restarting the DSLink is not one of those edge cases. Both `All Data` and `Point Change` will record the initial value when the watch is started up, and so both will end up with a duplicate value in the database.

0 comments on commit c37de90

Please sign in to comment.