On Tue, 15 Aug 2023 09:59:42 GMT, Laurent Bourgès <[email protected]> wrote:

>  Why 2s and not more or less ?

This is the average value chosen so as not to slow down test execution, and not 
to annoy the user with the "Screen is being shared" icon 
![image](https://github.com/openjdk/jdk/assets/77687766/ded56ab9-c38d-4640-af8b-e2e116f6779e)

> The delay could be set through a system property ?

This functionality could be added, but I don't see much reason to do so. 
If a screenshot is taken from time to time, the benefit of holding the session 
for a long time will be quite small compared to frequent requests.
Plus it requires some CSR work.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/15250#discussion_r1294525745

Reply via email to