postcode / promptly

Code for text message reminders
1 stars 2 forks source link

Problem with Conversations_Recipients #27

Closed andyhull closed 10 years ago

andyhull commented 10 years ago

Lots of rows are being created on this table. Not sure why.

waltz commented 10 years ago

Hm, what's going on? I might be able to help.

andyhull commented 10 years ago

Our database limit was exceeded on Heroku. I started looking into it and the Conversations and Conversations_Recipients tables each had around ~50,000 rows. Obviously, there are duplicate rows being created. My first guess is the rake task that pulls in logs from Twilio (scheduler.rake). I haven’t had a chance to look into it though.