In some OC versions between 11.x and 12.x the search endpoint returns an empty string for the limit parameter. In these instances it led to an infinite loop and an out of memoryexception.
This PR works around the broken endpoint and uses the configured limit value rather than relying on the API.
In some OC versions between 11.x and 12.x the search endpoint returns an empty string for the
limit
parameter. In these instances it led to an infinite loop and anout of memory
exception.This PR works around the broken endpoint and uses the configured limit value rather than relying on the API.