Skip to content

Commit 697c12b

Browse files
committed
fix: reduce organization cache duration from 5 minutes to 5 seconds
1 parent 9804568 commit 697c12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/webview/ClineProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ export class ClineProvider
147147

148148
private cloudOrganizationsCache: CloudOrganizationMembership[] | null = null
149149
private cloudOrganizationsCacheTimestamp: number | null = null
150-
private static readonly CLOUD_ORGANIZATIONS_CACHE_DURATION_MS = 5 * 60 * 1000 // 5 minutes
150+
private static readonly CLOUD_ORGANIZATIONS_CACHE_DURATION_MS = 5 * 1000 // 5 seconds
151151

152152
public isViewLaunched = false
153153
public settingsImportedAt?: number

0 commit comments

Comments
 (0)