Set exports.announceInterval with the passed interval.