Rendering large commit messages times out
Banzai can take a very long time to render commit with a large message.
lib/gitlab/git/commit.rb
includes a 10MiB limit for commit messages, but we observed that a 4MiB commit message was more than sufficient to cause problems.
Previous description:
I've noticed a few pages running on 502 after RC1 deploy in a few currently unknown scenarios:
A profiler on the latter shows that we're spending a lot of time on iterating and parsing a CommitCollection
:
Still unsure of how to reproduce.
Edited by Nick Thomas