philss / rustler_precompiled

Use precompiled NIFs from trusted sources in your Elixir code
181 stars 25 forks source link

Allow artifacts to be retrieved in parallel #68

Closed mfeckie closed 5 months ago

mfeckie commented 5 months ago

Not sure if you'd be interested in this tweak, but I noticed when generating checksums, the artifacts are downloaded serially.

Making them run in parallel shaves a reasonable amount of time off the process if there's lots of artifacts.

philss commented 5 months ago

It is intentional. The problem is that GitHub may block you if you do a lot of parallel requests. So I opt for doing it serial. In fact we had the parallel version before, and I had to revert. So I'm close the PR. Anyway, thank you for bringing that!