timeout when fetching all bundles for media root
- Elements Medialib Toolbox version: 0.1.5
- Python version: 3.9.5
- Operating System: MacOS
Description
When fetching all bundles for a media root with many (>1000) files, elements sdk throws an ApiException with a timeout.
What I Did
elt.get_all_bundles_for_media_root(api_client=client, media_root='Large MediaRoot')
[...]
ApiException: (504)
Reason: Gateway Time-out
HTTP response headers: HTTPHeaderDict({'Cache-Control': 'no-cache', 'Connection': 'close', 'Content-Type': 'text/html'})
HTTP response body: <html><body><h1>504 Gateway Time-out</h1>
The server didn't respond in time.
</body></html>