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

API struggles with getting all 700 sites #68

Open
peterdudfield opened this issue Mar 31, 2023 · 2 comments
Open

API struggles with getting all 700 sites #68

peterdudfield opened this issue Mar 31, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@peterdudfield
Copy link
Contributor

peterdudfield commented Mar 31, 2023

Detailed Description

Currently we can get 100/200 sites but above this, the API struggles. It looks like the database works for all sites, but then something doesnt work in the API.

Context

  • For showing on Passiv sites on a map, its useful to pull all sites.
  • A customer might have more sites, and we might have to think of a different way to do this

Possible Implementation

  • Would be good to bench mark how long it takes now
  • The UI just to pull 100 sites in batches.
  • Look which part of the API is being slow
@peterdudfield peterdudfield added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Mar 31, 2023
@peterdudfield
Copy link
Contributor Author

We can try it out again after #102

@peterdudfield
Copy link
Contributor Author

This should help with #102

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant