Adjusting heartbeat duration.