Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
if (latestReview != null && latestReview.AuditPassed == false && (DateTime.UtcNow - latestReviewTimestamp).TotalMinutes > 1)
{
// We can be pretty sure they've been temporarily banned.
endSession();
return;
}
if (sessionReviews.Count + TodaysCVReviews.Count >= (reviewsAvailable > 1000 ? 40 : 20))
{
// They've ran out of reviews.
endSession();
return;
}
if ((DateTime.UtcNow - latestReviewTimestamp).TotalMinutes > 3)
{
// They've probably finished.
endSession();
return;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.