testmycode / tmc-server

Test My Code exercise server used by e.g. http://mooc.fi/
GNU General Public License v2.0
46 stars 41 forks source link

Add memory and cpu limits to exercises #578

Closed Redande closed 6 months ago

Redande commented 6 months ago

Add memory_limit_gb and cpu_limit to exercises, default values are 1 for both (1GB of memory and 1 cpu thread). These are used on sandbox when running tests for the exercise. Both values can be customized through .tmcproject.yml through fields memory_gb and cpus.

codeclimate[bot] commented 6 months ago

Code Climate has analyzed commit b02b4ecf and detected 2 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 2

View more on Code Climate.