set receive timeout after connecting the client
The dashboard client connect function resets the receive timeout to 1 s. To avoid that the receive timeout is reset the setReceiveTimeout call is moved to after the client is connected.
Looks like you are right. Thanks for spotting this and providing the fix as a PR!
Before merging I'd like to test this on a real hardware. I might have never switched installations using the dashboard client before. If a higher timeout is needed in order to switch installations, we should probably also change the default value.
This PR hasn't made any progress for quite some time and will be closed soon. Please comment if it is still relevant.
Yes, this is still relevant. I should test and merge this!