add configurable heartbeat_interval