• Drew Blessing's avatar
    Truncate tree to max 1,000 items and display notice to users · 03b1bcbb
    Drew Blessing authored
    Rendering ten thousands of tree items consumes a lot of server
    time and can cause timeouts in extreme cases. Realistically,
    displaying more than 1,000 files is probably not useful so
    truncate and show the user a notice instead. 'Find files' can be
    used to locate specific files beyond the 1,000 limit.
    03b1bcbb
tree_helper.rb 3.5 KB