Skip to content

Commit

Permalink
Fixed wront exeuctionTime calc
Browse files Browse the repository at this point in the history
  • Loading branch information
Juan Hapes committed Feb 9, 2024
1 parent de3a8bd commit b3b4776
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [8.0.2] - 2024-02-09
### Fixed
- Fixed wrong `executionTime` calculation

## [8.0.1] - 2024-02-09
### Changed
- From now on `executionTime` for **Log** are saved in `ms`
Expand Down
2 changes: 1 addition & 1 deletion lib/dispatcher.js
Expand Up @@ -106,7 +106,7 @@ module.exports = class Dispatcher {
error = err;
}

this.api.executionTime = this.executionStarted - Date.now();
this.api.executionTime = Date.now() - this.executionStarted;

await LogHelper.save(this.api, this.pristineData);

Expand Down

0 comments on commit b3b4776

Please sign in to comment.