Skip to content

Configure Timeout Time on VSCode Webview Startup

Problem to solve

After some customers were facing issues with the Duo Chat webview, it was noticed that the timeout value set here is currently not optimal for all user devices. This can lead to timeout errors that are thrown before the user's machine has a chance to load the webview. The Duo Chat feature becomes unusable at this point and an error is thrown.

This value has already been increased in the past, but it still seems not-optimal for all users.

Proposal

By introducing a setting that allows users to set timeout times that more accurately reflect the performance and speed of their machine, Duo Chat won't throw premature timeout errors.

This allows for the default timeout settings (the current settings) to exist while also giving users the flexibility in allowing more time for the Duo Chat features to startup.

Just increasing the timeout generally is not the most ideal solution as for those with speedier machines should have quick failures so they are not waiting longer for an error to occur that should have failed quickly.

Further details

Links / references

Edited by Dylan Bernardi