Format workspace entries duration cleanup
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
1 parent
9e8e6e9abd
commit
0593260f66
1 file changed
+1
-2
@@ -402,8 +402,7 @@ export const makeWorkspaceEntries = Effect.gen(function* () {
|
||||
buildWorkspaceIndex,
|
||||
{
|
||||
capacity: WORKSPACE_CACHE_MAX_KEYS,
|
||||
timeToLive: (exit) =>
|
||||
Exit.isSuccess(exit) ? WORKSPACE_CACHE_TTL : Duration.zero,
|
||||
timeToLive: (exit) => (Exit.isSuccess(exit) ? WORKSPACE_CACHE_TTL : Duration.zero),
|
||||
},
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user