Skip to content

Commit

Permalink
Fix cache mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
haimkastner committed May 17, 2023
1 parent 92cc65c commit 0c3cad9
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"@mui/lab": "^5.0.0-alpha.48",
"@mui/material": "^5.0.0",
"date-fns": "^2.8.1",
"frontal-data-manager": "^1.0.13",
"frontal-data-manager": "^1.0.14",
"i18next": "^20.6.0",
"isemail": "^3.2.0",
"javascript-time-ago": "^2.3.10",
Expand Down
1 change: 1 addition & 0 deletions src/services/actions.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class ActionsService extends DashboardService<Action[]> {
constructor() {
super([], {
useDashboardCache: true,
cacheKey: 'ActionsService',
});
}

Expand Down
1 change: 1 addition & 0 deletions src/services/minions.kinds.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class MinionsKindsService extends DashboardService<DeviceKind[]> {
constructor() {
super([], {
useDashboardCache: true,
cacheKey: 'MinionsKindsService',
});
}

Expand Down
1 change: 1 addition & 0 deletions src/services/minions.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ class MinionsService extends DashboardService<Minion[]> {
constructor() {
super([], {
useDashboardCache: true,
cacheKey: 'MinionsService',
});
// Activate activation to pull minions
setInterval(this.pullMinionsActivation, PULL_MINION_ACTIVATION.Milliseconds);
Expand Down
1 change: 1 addition & 0 deletions src/services/timeline.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class TimelineService extends DashboardService<MinionTimeline[]> {
constructor() {
super([], {
useDashboardCache: true,
cacheKey: 'TimelineService',
});
}

Expand Down
1 change: 1 addition & 0 deletions src/services/timeout.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class TimeOutService extends DashboardService<MinionTimeout[]> {
constructor() {
super([], {
useDashboardCache: true,
cacheKey: 'TimeOutService',
});
}

Expand Down
1 change: 1 addition & 0 deletions src/services/timings.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class TimingsService extends DashboardService<Timing[]> {
constructor() {
super([], {
useDashboardCache: true,
cacheKey: 'TimingsService',
});
}

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6644,10 +6644,10 @@ from2@^2.1.0:
inherits "^2.0.1"
readable-stream "^2.0.0"

frontal-data-manager@^1.0.13:
version "1.0.13"
resolved "https://registry.yarnpkg.com/frontal-data-manager/-/frontal-data-manager-1.0.13.tgz#4a1cdbdcab4a3e6a1926a1e937a75978d8192292"
integrity sha512-hxw4zX5A6TVIP5tjF+VweIpChVPIuZQFHMoI0x2V9KX6kcxPpVuw/ldS/CEfqg0pjn/mIb00wb7VBFiInmiReQ==
frontal-data-manager@^1.0.14:
version "1.0.14"
resolved "https://registry.yarnpkg.com/frontal-data-manager/-/frontal-data-manager-1.0.14.tgz#d21b6be8ca529968f95a51c7cce6b09434e2ae37"
integrity sha512-SztXr5ue0V0wwz4dn6r9W6kwRVDcOh9kahJ2M1f1QuPmWAzNT2DlgeYQxVgh9TJwheHxYRDjw5yFhis2kZ3q2w==
dependencies:
lodash.clonedeep "^4.5.0"
react "^17.0.2"
Expand Down

0 comments on commit 0c3cad9

Please sign in to comment.