Skip to content

Instantly share code, notes, and snippets.

@userqq
Created December 11, 2017 18:25
Show Gist options
  • Save userqq/faa7307b07291419cb62937be7b2ca22 to your computer and use it in GitHub Desktop.
Save userqq/faa7307b07291419cb62937be7b2ca22 to your computer and use it in GitHub Desktop.
let pool = new Pool();
for i in 0..5_000_000 {
pool.submit(|| {
// качаем картинку и обрабатываем.
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment