# Infinite loop in email\_reply\_trimmer

**URL:** <https://meta.discourse.org/t/infinite-loop-in-email-reply-trimmer/69427>\
**Category:** Development\
**Created:** [September 5, 2017, 8:06pm UTC](https://meta.discourse.org/t/infinite-loop-in-email-reply-trimmer/69427 "2017-09-05T20:06:55Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [September 23, 2017, 10:55pm UTC](https://meta.discourse.org/t/infinite-loop-in-email-reply-trimmer/69427/9 "2017-09-23T22:55:13Z")

</div>

My solution was to truncate the posts at 50k. It turns out they didn’t want that list anyway (a bunch of cvs reports).

I wrote code that I think saves the bad messages to files, but really, who wants 500k posts?

---

_[View the full topic](https://meta.discourse.org/t/infinite-loop-in-email-reply-trimmer/69427)._
