mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
increase jupyter server shutdown timeout (#15899)
This commit is contained in:
@@ -64,13 +64,13 @@ export class JupyterNotebookProvider implements nb.NotebookProvider {
|
||||
manager.sessionManager.shutdown(session.id);
|
||||
}
|
||||
if (sessionManager.listRunning().length === 0) {
|
||||
const FiveMinutesInMs = 5 * 60 * 1000;
|
||||
const TenMinutesInMs = 10 * 60 * 1000;
|
||||
setTimeout(() => {
|
||||
if (sessionManager.listRunning().length === 0) {
|
||||
this.managerTracker.delete(baseFolder);
|
||||
manager.dispose();
|
||||
}
|
||||
}, FiveMinutesInMs);
|
||||
}, TenMinutesInMs);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user