CPAN-API/cpan-api — Issue #160: Don't try to parse large files in /pod controller
Author: monken
Created: 2012-02-09 11:36:10+00:00
State: open

CNANGEL/getaddress-0.04/data/QQWry.Dat is a 7.7mb big file which caused the api server to stall when accessed through http://api.metacpan.org/source/CNANGEL/getaddress-0.04/data/QQWry.Dat

What we should do is to check the file size before we run the parser. A sane limit should be established. Since we can query the API for file sizes, we can just do a facet search and see where a sane limit could live.