Skip to content

Commit f26e936

Browse files
committed
Refresh results every five minutes
1 parent f939bef commit f26e936

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.eslintrc.json

-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
"no-console": "off",
3939
"no-else-return": "off",
4040
"no-invalid-this": "off",
41-
"no-magic-numbers": ["warn", { "ignore": [0, 1] }],
4241
"no-negated-condition": "off",
4342
"no-promise-executor-return": "off",
4443
"no-ternary": "off",

src/extension.ts

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export function activate(context: vscode.ExtensionContext): void {
99

1010
const githubProvider = new GitHubProvider();
1111
vscode.window.registerTreeDataProvider('gitHubIntegration', githubProvider);
12+
setInterval(() => githubProvider.userRefresh(), 5 * 60 * 1000); // 5 minutes
1213

1314
context.subscriptions.push(vscode.commands.registerCommand('openjdkDevel.gitHubIntegration.refresh', (url: any) => {
1415
githubProvider.userRefresh();

0 commit comments

Comments
 (0)