You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do not make requests if sync files are too large #89597
Seems obvious that we should do this now imo as it was a cause for concern when I saw the data in shoot up to > 300x more than normal; why request and waste server time when we know it will be rejected by simply measuring the length of content on the client?
Sandeep Somavarapu (@sandy081) sure, but this will get hit when millions of people are using it. Moving the validation to the client means less traffic on the server, more stable servers, less compute and a faster response to the user. What's the downside when it's a simple conditional with a throw in VS Code?
We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
Activity
Tyriar commentedon Jan 29, 2020
Seems obvious that we should do this now imo as it was a cause for concern when I saw the data in shoot up to > 300x more than normal; why request and waste server time when we know it will be rejected by simply measuring the length of content on the client?
sandy081 commentedon Jan 29, 2020
Remember it was testing and there is a bug on the client to stop sync. So not sure if that is a good heuristics.
Tyriar commentedon Jan 29, 2020
Sandeep Somavarapu (@sandy081) sure, but this will get hit when millions of people are using it. Moving the validation to the client means less traffic on the server, more stable servers, less compute and a faster response to the user. What's the downside when it's a simple conditional with a throw in VS Code?
sandy081 commentedon Jan 29, 2020
How do I know what is the max limit that a server can support?
vscode-triage-bot commentedon Nov 5, 2021
We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding and happy coding!