summaryrefslogtreecommitdiff
path: root/extension/src/activation/activate.ts
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-08-04 21:21:55 -0700
committerNate Sesti <sestinj@gmail.com>2023-08-04 21:21:55 -0700
commit345b7734d8c887d699d5038416d2a1f8193a33e9 (patch)
treee2a7151c3266fa447cbff03d730106049f3187c0 /extension/src/activation/activate.ts
parent51abe8eb79f56b2a32dbbef19e8d352eeca56abe (diff)
downloadsncontinue-345b7734d8c887d699d5038416d2a1f8193a33e9.tar.gz
sncontinue-345b7734d8c887d699d5038416d2a1f8193a33e9.tar.bz2
sncontinue-345b7734d8c887d699d5038416d2a1f8193a33e9.zip
fix: :bug: timeout on blocking processes
Diffstat (limited to 'extension/src/activation/activate.ts')
-rw-r--r--extension/src/activation/activate.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/extension/src/activation/activate.ts b/extension/src/activation/activate.ts
index d07719a8..560b970c 100644
--- a/extension/src/activation/activate.ts
+++ b/extension/src/activation/activate.ts
@@ -56,12 +56,8 @@ export async function activateExtension(context: vscode.ExtensionContext) {
// Start the server and display loader if taking > 2 seconds
const sessionIdPromise = (async () => {
- await new Promise((resolve) => {
- // Start the server and set serverStarted to true when done
- startContinuePythonServer().then(() => {
- resolve(null);
- });
- });
+ // Start the server and set serverStarted to true when done
+ await startContinuePythonServer();
console.log("Continue server started");
// Initialize IDE Protocol Client