# OPC server connection Keep-Alive Failures Allowed and Failover Threshold

**URL:** <https://forum.inductiveautomation.com/t/opc-server-connection-keep-alive-failures-allowed-and-failover-threshold/20990>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [November 21, 2018, 7:59am UTC](https://forum.inductiveautomation.com/t/opc-server-connection-keep-alive-failures-allowed-and-failover-threshold/20990 "2018-11-21T07:59:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mik977](https://avatars.discourse-cdn.com/v4/letter/m/5f8ce5/32.png) [@mik977](https://forum.inductiveautomation.com/u/mik977)\
**Post date:** [November 21, 2018, 7:59am UTC](https://forum.inductiveautomation.com/t/opc-server-connection-keep-alive-failures-allowed-and-failover-threshold/20990/1 "2018-11-21T07:59:19Z")

</div>

How are the Keep-Alive Failures Allowed and Failover Threshold related with respect to disconnect event due to Keep-Alive Failures Allowed beeing 1,2,… or 0?

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [November 21, 2018, 2:05pm UTC](https://forum.inductiveautomation.com/t/opc-server-connection-keep-alive-failures-allowed-and-failover-threshold/20990/2 "2018-11-21T14:05:47Z")

</div>

They aren’t really related to each other.

The failover logic just looks at the connection status periodically, and if it’s not connected for any reason increments the “not connected” count. If this count reaches the threshold it fails over.
