Skip to content

Commit 7f5920b

Browse files
committed
🔊 updated time format when timeout
1 parent 4312060 commit 7f5920b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "barky",
3-
"version": "1.7.20",
3+
"version": "1.7.21",
44
"description": "A simple cloud services watchdog with digest notification support & no external dependencies",
55
"homepage": "https://github.com/Rohland/barky#readme",
66
"main": "dist/cli.js",

src/evaluators/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export abstract class BaseEvaluator {
6767
public async timeout() {
6868
const maxEvaluatorTime = 30_000;
6969
await sleepMs(maxEvaluatorTime);
70-
return `evaluator of type '${ this.type }' timed out after ${maxEvaluatorTime}ms`;
70+
return `evaluator of type '${ this.type }' timed out after ${maxEvaluatorTime/1000}s`;
7171
}
7272

7373
public async evaluateWithTimeout(app: IApp): Promise<Result | Result []> {

0 commit comments

Comments
 (0)