Describe the bug
When using the ?limit query parameter, it does not improve the response time compared to not setting a limit at all
To Reproduce
Steps to reproduce the behavior:
- Create 300k twins
- use GET /submodels endpoint
- see that the response takes more than a minute
- use GET /submodels?limit=5 endpoint
- See that the response takes equally long
Expected behavior
I would expect a faster response time nearly equivalent to the set limit / number of submodels ratio
BaSyx (please complete the following information):
Additional context
I suspect that application still querries every submodel and just adds the first five to the response
Describe the bug
When using the
?limitquery parameter, it does not improve the response time compared to not setting a limit at allTo Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect a faster response time nearly equivalent to the
set limit / number of submodelsratioBaSyx (please complete the following information):
Additional context
I suspect that application still querries every submodel and just adds the first five to the response