Skip to content

Commit

Permalink
Change how old a roster can be before it is considered stale
Browse files Browse the repository at this point in the history
Change from 7 to 5 days
  • Loading branch information
marcospri committed Jan 31, 2025
1 parent 23dfcd4 commit 52e8359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lms/tasks/roster.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
LAUNCHED_WINDOW = timedelta(hours=24)
"""How recent we need to have seen a launch from a course/assignment before we stop fetching rosters for it."""

ROSTER_REFRESH_WINDOW = timedelta(hours=24 * 7)
ROSTER_REFRESH_WINDOW = timedelta(hours=24 * 5)
"""How frequenly should we fetch roster for the same course/assignment"""

ROSTER_LIMIT = 50
Expand Down

0 comments on commit 52e8359

Please sign in to comment.