copycopter/copycopter-server

CopyCopter does not run on a free Heroku plan with the new Heroku plans

Opened this issue · 6 comments

Heroku warning email:
The database contains 45,525 rows, exceeding the plan limit of 10,000. INSERT privileges to the database will be automatically revoked in 7 days. This will cause service failures in most applications dependent on this database.

+1

+1, but can someone explain why is copycopter using so many rows to begin with?

+1
is there any update or which rows are "old" and can be deleted?

Got same problem too

Copycopter is storing localizations for every language, apparently.
You can remove the ones you don't care about.

you can connect to the rails console with heroku run rails c
and then run Locale.where('key not in (?)', [:en, :de]).destroy_all to delete all the locales that are not english or german (for example).

As a simple solution, I'm planning to put this in a cronjob. I went from having 7000+ localizations, to 1400+.