Skip to content

Commit

Permalink
Correct delay for language server version check (#620)
Browse files Browse the repository at this point in the history
Previously PR 595 added in a periodic check for the language server version
however the period chosen was incorrect. Currently it checks evey 24mins,
not 24 hours.

This commit changes the period to the expected 24hr period.
  • Loading branch information
glennsarti authored May 3, 2021
1 parent 53b69a8 commit 32a57ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export function deactivate(): Promise<void[]> {
}

async function updateLanguageServer() {
const delay = 1000 * 60 * 24;
const delay = 1000 * 60 * 60 * 24;
setTimeout(updateLanguageServer, delay); // check for new updates every 24hrs

// skip install if a language server binary path is set
Expand Down

0 comments on commit 32a57ac

Please sign in to comment.