Configuring heartbeat from config file