[Fix bug 979229] Add task to offline calculate longest streaks.