Single controller failure in multi controller setup may result in Desktop launch failure for up to 5 minutes
If you want to decrease the heartbeat time between DDC and VDA, you can modify following key on all DDC servers.
HKEY_LOCAL_MACHINE\SOFTWARE\Citrix\DesktopServer
HeartbeatPeriodMs REG_DWORD
The default value for this key is 600000 (10 Minutes) which is twice the VDA heartbeat interval. Reducing this to 300000 will reduce the heartbeat interval to 2.5 minutes and will enable the VDA to re-register faster to the next DDC.
Note:
Decreasing the heartbeat interval would increase heartbeat traffic.
Virtual Desktop Agent (VDA) sends a heartbeat ping to Desktop Delivery Controller (DDC) periodically to ensure that the Controller is up and running. By default, VDA sends the heartbeat ping to DDC every 5 minutes. If the heartbeat test fails, the VDA will attempt to register with the next delivery controller.
Assuming that DDC1 went down just after a successful heartbeat request from VDA1, VDA1 will not realize that the DDC is down for the next 5 minutes (Default Heartbeat interval). After 5 minutes, it detects the failure and will attempt to register with DDC2.