Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

praxisdigital/moodle-opgaver#501 - Skip files larger than 100 MB #5

Open
wants to merge 5 commits into
base: MOODLE_400_STABLE
Choose a base branch
from

Conversation

frederikmillingpytlick
Copy link

We have an issue where the plagiarism plugin tries to send some very large files to the checker. We're talking multiple gigabytes. This causes an out of memory fatal error since the file content is being loaded into memory, before sending to the checker.

I then looked up your file requirements and found that you limit it at 100 MB and thought why not skip them before attempting to send them forward :)

Feel free to reply with any wanted changes from my part :)

@frederikmillingpytlick frederikmillingpytlick force-pushed the fmp_moodle-opgaver-GH-501_400 branch from a2a7c5a to d7ebb8a Compare November 6, 2024 07:22
Copy link

snyk-io bot commented Dec 9, 2024

🎉 Snyk checks have passed. No issues have been found so far.

code/snyk check is complete. No issues have been found. (View Details)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants