Skip to content

Conversation

@SukhvirKooner
Copy link
Contributor

Summary

#12837

const inactivityThresholdMs = 30 * 24 * 60 * 60 * 1000;

This computes the total milliseconds for 30 days.

if (now - lastActivity <= inactivityThresholdMs) {
  continue;
}

This ensures that only issues with no activity for more than one month are processed for unassignment.

@MisRob MisRob self-requested a review March 31, 2025 03:04
@MisRob MisRob self-assigned this Mar 31, 2025
Copy link
Member

@MisRob MisRob left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good and as expected - thank you for completing all this

@MisRob MisRob merged commit 16fe865 into learningequality:main Apr 3, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants