Merge "Adding buffer time for periodic jobs run near the end of their windows." into qt-dev