Closed jrogerthat closed 5 years ago
How long does the request for 197 take?
Part of the reason the offset and limit parameters are there is to enable splitting up a request for a lot of data into several requests for less data. The general way to solve this issue is to convert the "big" request into a "small" request that runs in a loop, aggregating the results as they come in. Let me know if that will be possible for your case.
How long does the request for 197 take?
Part of the reason the offset and limit parameters are there is to enable splitting up a request for a lot of data into several requests for less data. The general way to solve this issue is to convert the "big" request into a "small" request that runs in a loop, aggregating the results as they come in. Let me know if that will be possible for your case.
Hey Roni! So the request for 197 does not take that long- Maybe a couple of seconds. I am suspecting there is something else going on here - as it runs fine as long as I request n-1 nodes. If I request any number less than 198 it runs fine, but with 198 it times out.
After some investigation, it turns out the problem here was an edge referring to a non-existent node. When that node is "retrieved" from the database, the data on it is null, which leads to the problem.
Since graph validation would have exposed the problem, I'm closing this issue in favor of #71.
Working on loading the nodes and edges for a graph. I am able to increase the limit to 197, but the actual node/edge total of 198 returns a timeout error.
If I remove the limit parameter, the node limit returned defaults to 10.
Code for the graphQl query:
Girder log with error: