3720: Limit Workbench file rendering for large Collections.
authorBrett Smith <brett@curoverse.com>
Wed, 3 Sep 2014 21:52:00 +0000 (17:52 -0400)
committerBrett Smith <brett@curoverse.com>
Fri, 5 Sep 2014 15:16:25 +0000 (11:16 -0400)
commit0c3c1a495e8048195151d30d831208a5c75e36f0
treebc6dba90e902093a9062499329e7bc1682ec683d
parentd13ad5bbb7f5e74cb43d0570d9d1a8159237f5ff
3720: Limit Workbench file rendering for large Collections.

Rendering too many files can cause rendering to take too long, and
there's not much point because it can really strain browsers too.
Arbitrarily cap rendering at 10,000 files.
apps/workbench/app/views/collections/_show_files.html.erb
apps/workbench/app/views/collections/show_file_links.html.erb