Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
betelgeuse opened this issue Sep 23, 2012 · 6 comments

Comments

@betelgeuse
Copy link

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.

@aren55555
Copy link

+1

1 similar comment
@kredmer
Copy link

kredmer commented Oct 23, 2012

+1

@brewster1134
Copy link

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

@MichaelWhi
Copy link

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

@ch-ms
Copy link

ch-ms commented Apr 12, 2013

Got same problem too

@eljojo
Copy link

eljojo commented Apr 19, 2013

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+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants