You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Implemented a check in the submissions controller to limit users to a maximum of 3 processing submissions for a specific exercise.
* Added a method in the User model to count processing submissions for an exercise.
* Introduced a corresponding method in the Submission model to facilitate this count.
returnrespond_forbidden("Too many submissions currently processing for this exercise. You have #{processing_count} submissions being processed. Please wait for them to complete before submitting again. All your submissions will eventually get processed and you will get your points.")
0 commit comments