Skip to content

Commit

Permalink
fix: 🐛 added cache to garden meta (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
espenkalle authored Oct 11, 2023
1 parent 311d3b8 commit 9e76136
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/garden/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/workspace-garden",
"version": "5.1.1",
"version": "5.1.2",
"type": "module",
"sideEffects": false,
"license": "MIT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export function GroupingSelector<TContext>({
suspense: true,
useErrorBoundary: true,
keepPreviousData: false,
cacheTime: Infinity,
staleTime: Infinity,
queryFn: ({ signal }) =>
dataSource.getGardenMeta({ groupingKeys, timeInterval, dateVariant }, context, signal ?? new AbortSignal()),
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export const VirtualContainer = <TContext,>({
suspense: true,
useErrorBoundary: true,
keepPreviousData: false,
cacheTime: Infinity,
staleTime: Infinity,
queryFn: ({ signal }) =>
dataSource.getGardenMeta(
{
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace-fusion/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@equinor/workspace-fusion",
"version": "5.3.3",
"version": "5.3.4",
"type": "module",
"sideEffects": false,
"license": "MIT",
Expand Down

0 comments on commit 9e76136

Please sign in to comment.