erc-server-send-ping-interval

erc-server-send-ping-interval is a variable defined in `erc-backend.el'.
Its value is
30


Documentation:
Interval of sending pings to the server, in seconds.
If this is set to nil, pinging the server is disabled.

You can customize this variable.