pmartin / plop-reader

A Wallabag application for Pocketbook / TEA Touch Lux ereaders
http://plop-reader.pascal-martin.fr
GNU General Public License v3.0
44 stars 6 forks source link

Download several images in parallel #86

Open pmartin opened 7 years ago

pmartin commented 7 years ago

For now, when syncing new entries from the server, each time a new entry is saved to the local database, its preview image is downloaded -- which means saving entries takes a long time, as images are downloaded one at a time.

An idea to speed this up (consequence: speed up the "synchronization" duration) would be to download several images in parallel (like already done for EPUB files), using a thread pool or something like that.