add time to live to sample config