serokell / hackage-search

An application that lets you search for anything on Hackage
https://hackage-search.serokell.io/
24 stars 0 forks source link

Use QSem in Download.hs #32

Open int-index opened 8 months ago

int-index commented 8 months ago
  forConcurrently_ filenames $ \filename ->
    bracket_ (waitQSem qsem) (signalQSem qsem) $
      ...

should do a better job at distributing the workload between threads than forConcurrentlyInBuckets_.