Difference between MinimumTimeout and MaximumTimeout

Options
romp
edited March 2014 in Photon Server
In the Photon server configuration, I notice that there is a MinimumTimeout and a MaximumTimeout field. What is the difference between these two? I've never seen timeouts specified as a min and max amount.

We are seeing some timeouts from various clients and before I tweaked these values, I'd like to understand their differences, and why one wouldn't just set them to the same amount.

Thanks in advance!

Comments

  • The MinimumTimeout and MaximumTimeout are only used for UDP / ENet. A client can be disconnected any time if it does not send ACKs for the "MinimumTimeout"-timespan, at lastest after the "MaximumTimeout" period.

    The actual timeout is calculated inernally, based on the peer's roundtrip time and a quite complex retry logic.