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

Change limit not working in Heroku app? #272

Closed
IshwarBhat opened this issue Mar 14, 2018 · 2 comments
Closed

Change limit not working in Heroku app? #272

IshwarBhat opened this issue Mar 14, 2018 · 2 comments

Comments

@IshwarBhat
Copy link

I was not sure where to ask for help with this, hence raising an issue here. Any help is appreciated.
I tried running freegeoip as a Heroku app by first cloning the app source code in my local Windows machine. I need to increase the limit of 10,000 requests per hour. To do this, I tried two methods:

  1. Change the contents of apiserver/config.go by adding a line RateLimitLimit: 0, inside func NewConfig() *Config { return &Config{ } }
  2. Create a file prod.env with the line FREEGEOIP_RATELIMITLIMIT=50000
    Neither of which worked. When I open my app home page, I still see

9997 calls remaining, resets in 59 minutes

Where am I going wrong?

@fiorix
Copy link
Owner

fiorix commented Mar 16, 2018

Closing this due to #268.

@fiorix fiorix closed this as completed Mar 16, 2018
@IshwarBhat
Copy link
Author

Oops my bad.

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

2 participants