@lokalise/healthcheck-utils 7.0.0 → 8.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/HealthcheckResultsStore.d.ts +1 -1
- package/dist/healthchecks.d.ts +1 -1
- package/package.json +12 -11
package/README.md
CHANGED
|
@@ -7,12 +7,12 @@ This package adds common utils that are used to work with healthchecks.
|
|
|
7
7
|
```ts
|
|
8
8
|
// this is a part of dependencies
|
|
9
9
|
const store = new HealthcheckResultsStore({
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
maxHealthcheckNumber: 10,
|
|
11
|
+
healthCheckResultTtlInMsecs: 40000,
|
|
12
12
|
})
|
|
13
13
|
|
|
14
14
|
const job = new HealthcheckRefreshJob(dependencies, healthcheckList, {
|
|
15
|
-
|
|
15
|
+
intervalInMs: 15000,
|
|
16
16
|
})
|
|
17
17
|
|
|
18
18
|
await job.asyncRegister()
|
package/dist/healthchecks.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lokalise/healthcheck-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "8.0.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist/**",
|
|
@@ -20,29 +20,30 @@
|
|
|
20
20
|
"./package.json": "./package.json"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@lokalise/node-core": "^14.
|
|
23
|
+
"@lokalise/node-core": "^14.12.0",
|
|
24
|
+
"@lokalise/universal-ts-utils": "^4.12.0",
|
|
24
25
|
"@supercharge/promise-pool": "^3.2.0",
|
|
25
|
-
"redis-semaphore": "^
|
|
26
|
+
"redis-semaphore": "^6.0.0",
|
|
26
27
|
"toad-cache": "^3.7.1"
|
|
27
28
|
},
|
|
28
29
|
"peerDependencies": {
|
|
29
30
|
"@lokalise/background-jobs-common": ">=12.0.0",
|
|
30
31
|
"@prometheus-io/client": "^0.16.1",
|
|
31
|
-
"ioredis": "^
|
|
32
|
-
"toad-scheduler": "^4.0
|
|
32
|
+
"ioredis": "^6.0.0",
|
|
33
|
+
"toad-scheduler": "^4.2.0"
|
|
33
34
|
},
|
|
34
35
|
"devDependencies": {
|
|
35
|
-
"@biomejs/biome": "^2.
|
|
36
|
+
"@biomejs/biome": "^2.6.4",
|
|
37
|
+
"@lokalise/background-jobs-common": "^17.0.3",
|
|
38
|
+
"@lokalise/biome-config": "^5.0.0",
|
|
39
|
+
"@lokalise/tsconfig": "^5.0.0",
|
|
36
40
|
"@prometheus-io/client": "^0.16.1",
|
|
37
41
|
"@vitest/coverage-v8": "^4.1.11",
|
|
38
42
|
"ioredis": "^6.0.0",
|
|
39
43
|
"rimraf": "^6.1.3",
|
|
40
|
-
"toad-scheduler": "^4.0
|
|
44
|
+
"toad-scheduler": "^4.2.0",
|
|
41
45
|
"typescript": "7.0.2",
|
|
42
|
-
"vitest": "^4.1.11"
|
|
43
|
-
"@lokalise/biome-config": "^3.1.1",
|
|
44
|
-
"@lokalise/background-jobs-common": "^16.1.0",
|
|
45
|
-
"@lokalise/tsconfig": "^5.0.0"
|
|
46
|
+
"vitest": "^4.1.11"
|
|
46
47
|
},
|
|
47
48
|
"scripts": {
|
|
48
49
|
"build": "rimraf dist && tsc --project tsconfig.build.json",
|