The timeout values for the AFP server range from 2 minutes to 24 hours. The default timeout value is 24 hours. This default value can be reconfigured by setting the RECONNECT_PERIOD value in the afptcpd.conf file or by setting the option through iManager.
For more information on how to set the reconnect period value through iManager, see Threads and Connections.
To configure this value through CLI, start the AFP daemon by using - r option. For example: afptcpd -r <reconnect period> OR afptcpd --reconnect-period =<reconnect period>