Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
GermanBluefox committed Sep 18, 2023
1 parent 09168cd commit 83c26d7
Show file tree
Hide file tree
Showing 4 changed files with 122 additions and 117 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ This adapter saves state history in a two-staged process.
## Changelog
### **WORK IN PROGRESS**
* (foxriver76) fix history2db.js with controller v5
* (bluefox) Minimal node.sj version is 16

### 2.2.6 (2023-08-23)
* (Apollon77) Fix getHistory when aggregations were used in some cases
Expand All @@ -41,25 +42,25 @@ This adapter saves state history in a two-staged process.

### 2.2.0 (2022-07-22)
* (Apollon77) make sure getHistory works for all cases
* (Bluefox/Apollon77) Add option to add comment and user info to results
* (Bluefox/Apollon77) Added an option to add comment and user info to results

### 2.1.7 (2022-06-27)
* (Apollon77) Allow to remove a configuration value for "round" in config again
* (Apollon77) Allowed removing a configuration value for "round" in config again

### 2.1.6 (2022-06-27)
* (Apollon77) When not count is provided for aggregate "none" or "onchange" then the limit (default 2000) is used as count to define the number of data to return.

### 2.1.5 (2022-06-24)
* (Apollon77) Ignore errors from forked process after response was sent for GetHistory
* (Apollon77) Ignore errors from a forked process after response was sent for GetHistory

### 2.1.4 (2022-06-12)
* (Apollon77) Make sure debug log is active according to the settings
* (Apollon77) Make sure the debug log is active, according to the settings

### 2.1.3 (2022-06-08)
* (Apollon77) Huge performance optimizations for GetHistory calls

### 2.1.2 (2022-05-28)
* (Apollon77) Fix crash case reported by Sentry
* (Apollon77) Fixed crash case reported by Sentry

### 2.1.1 (2022-05-27)
* (Apollon77) Fix crash case reported by Sentry
Expand Down
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ function main() { //start

adapter.config.writeNulls && writeNulls();

// store all buffered data every 10 minutes to not lost the data
// store all buffered data every 10 minutes to not lose the data
bufferChecker = setInterval(() => storeCached(), 10 * 60000);
});

Expand Down Expand Up @@ -1330,7 +1330,7 @@ function getHistory(msg) {
}
});
} else {
// to use parallel requests activate this.
// to use parallel requests, activate this.
if (1 || typeof GetHistory === 'undefined') {
let responseSent = false;
adapter.log.debug(`${options.logId} use parallel requests for getHistory`);
Expand Down
Loading

0 comments on commit 83c26d7

Please sign in to comment.