autolab / Autolab

Course management service that enables auto-graded programming assignments.
http://www.autolabproject.com/
Apache License 2.0
752 stars 214 forks source link

Incorrect maximum output file size #444

Closed mihirpandya closed 9 years ago

mihirpandya commented 9 years ago

The maximum output file size field says 4096 bytes for every job's page. This value is incorrect and seems hard coded.

dlbucci commented 9 years ago

It's exactly what Tango returns to us, so if it is hardcoded, this issue belongs in the Tango repo. See here: https://github.com/autolab/Autolab/blob/master/app/views/jobs/getjob.html.erb#L22

mihirpandya commented 9 years ago

Yeah, you're right. For some reason, it's set as the default value here. https://github.com/autolab/Tango/blob/1ac11374c900d8fc0169ab6a83a9f8033791219e/tangoObjects.py#L56