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

Next colony cost calculation #428

Open
icydee opened this issue Feb 27, 2016 · 0 comments
Open

Next colony cost calculation #428

icydee opened this issue Feb 27, 2016 · 0 comments
Labels

Comments

@icydee
Copy link
Member

icydee commented Feb 27, 2016

Currently for every get_status call (pretty much every api call) the next_colony_cost is determined partially by determining how many colony ships are travelling out from the body.

This requires a db access every time for something which is most times not needed.

Look at how this call can be eliminated or cached.

@icydee icydee added the Reboot label Feb 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant