Skip to content

Is there a way to increase the saveTimeout value in DocumentsMainImpl? #14550

Answered by msujew
safisa asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @safisa,

I believe the timeout stems from VS Code itself, see here. It is very hardcoded in there.

Assuming you get somehow access to the RPCProtocol object in the browser frontend, you should be able to get the DocumentsMainImpl instance and adjust the timeout, given that it's just a protected field.

However, I don't think there's an intended way of adjusting the timeout. Feel free to contribute a PR to improve this :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by safisa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants