File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ interface CacheEntry {
1313 * using VS Code's globalState for cross-session persistence
1414 */
1515export class DocumentationCache implements vscode . Disposable {
16- private static readonly CACHE_DURATION_MS = 7 * 24 * 60 * 60 * 1000 ; // 7 days cache duration
16+ private static readonly CACHE_DURATION_MS = 30 * 24 * 60 * 60 * 1000 ; // 30 days cache duration
1717 private static readonly CACHE_PREFIX = 'doc-cache.' ;
1818
1919 private extensionContext : vscode . ExtensionContext ;
Original file line number Diff line number Diff line change @@ -139,12 +139,13 @@ export class ZenStackAuthenticationProvider implements vscode.AuthenticationProv
139139 }
140140 ) ;
141141
142+ // 2 minutes timeout
142143 setTimeout ( ( ) => {
143144 if ( this . pendingAuth ) {
144145 delete this . pendingAuth ;
145146 }
146147 reject ( new Error ( 'Timeout' ) ) ;
147- } , 60000 ) ;
148+ } , 120000 ) ;
148149 } ) ;
149150 }
150151 ) ;
You can’t perform that action at this time.
0 commit comments