-
Notifications
You must be signed in to change notification settings - Fork 175
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
support huge amount of datacubes #1004
base: master
Are you sure you want to change the base?
Conversation
Thank you for the contribution, we'll review the changes. Due to a Christmas break you could expect the review in the beginning of the new year. |
…usters and adding pagination to the `/sources/dataCubes`
13a888a
to
4a0ade5
Compare
src/client/utils/ajax/ajax.ts
Outdated
let dataCubesResult: SerializedDataCube[] = []; | ||
let isDone = false; | ||
let batch = 0; | ||
while (!isDone) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm wondering if we could extract this to async iterator and with for await ... of
. That's very loose idea though!
…usters and adding pagination to the `/sources/dataCubes` - CR fixes
@adrianmroz-allegro Thank you for the review - I've fixed the comments |
@bikov oh, that's unfortunate :) We were discussing your PR on one of our meetings and I'm finishing my implementation of this feature. If that's ok with you I'd like to push my solution and get review from you. |
We have a large number of datasources in our use - and when trying to use Turnilo we are getting
{"error": "Can't fetch settings", "message": "Invalid string length"}
when querying/sources
This should help us to support our use case with a large number of datacubes by splitting datacubes API from clusters API and adding pagination to the
/sources/dataCubes