lightly-ai / lightly

A python library for self-supervised learning on images.
https://docs.lightly.ai/self-supervised-learning/
MIT License
2.83k stars 246 forks source link

Increase download timeout for json files #1556

Closed guarin closed 3 weeks ago

guarin commented 3 weeks ago

Changes

Json files, especially metadata files, can be larger than a couple of kilobytes and might take longer than 10s to download with bad internet connection. Increasing to the default API timeout of 180s should help avoid timeouts.

codecov[bot] commented 3 weeks ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 81.81%. Comparing base (2c8076a) to head (7175e36).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1556 +/- ## ======================================= Coverage 81.80% 81.81% ======================================= Files 144 144 Lines 6118 6119 +1 ======================================= + Hits 5005 5006 +1 Misses 1113 1113 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.