limit last activity to within a certain time period