When I've seen this error before, it was the result of granting the Advanced Notifications to all members, which gave email notifications for new discussions to hundreds of people who opted in. Vanilla processes those emails serially before the page reloads, which will cause a timeout if there's hundreds of emails to send. Revoking that permission from all non-admins would likely solve this issue if that's enabled on your site.