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

Expire Gyms and PokéStops #242

Open
blackhattristar opened this issue Aug 16, 2016 · 2 comments
Open

Expire Gyms and PokéStops #242

blackhattristar opened this issue Aug 16, 2016 · 2 comments

Comments

@blackhattristar
Copy link

blackhattristar commented Aug 16, 2016

Is it possible to add an expiration on the Gyms and PokéStops sorta like the Pokémon? I know the Pokémon are on a timer so they disappear eventually but the Gyms and PokéStops that appear in areas that you scan never disappear. If I scan New York and then scan Los Angeles, the Gyms & PokéStops in New York will forever be there as well as the Gyms and PokéStops in Los Angeles. Which means the server can only handle/remember so many Gyms and PokéStops from all over the globe. Which makes not only the app crash but the server crash due to memory issues. Is it possible to set an NSTimer on the Gyms and PokéStops or something of the sort that way if you scan New York for example and Gyms/PokéStops appear, in 10 minutes or so (it can be however long) the Gyms and PokéStops will disappear from the map like the Pokémon do unless you scan that area again. That way the map doesn't have to retain every single Gym and PokéStop forever.

This should be tagged as an enhancement. :)

Let me know your thoughts! This would be a HUGE help in terms of memory usage.

@istornz
Copy link
Owner

istornz commented Aug 23, 2016

It's a great feature but Pokestops are stored in the server database. iPokeGO read JSON (created by data in the db). So if you want to remove Pokestops, you can do this on the client part but it's not very optimized (you read all Pokestops every 5 sec but you can't add them). I think this feature is more for the server part...

@blackhattristar
Copy link
Author

How would I read the PokeStops every 5 secs on the server side and not add them? Is there a command that I run?

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

No branches or pull requests

2 participants