Permalink
Browse files

Quick fixes for greenlets

  • Loading branch information...
1 parent 719b9d2 commit 25b5fea03592540d0623ca9a2004d0dade2abfbf @9seconds committed Dec 23, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 utils/website.py
View
@@ -123,9 +123,9 @@ def handle_page_unit (self, unit):
def handle (self):
setlocale(LC_ALL, self.loc)
- elements = chain.from_iterable(self.global_pool.map(
+ elements = chain.from_iterable(self.global_pool.imap_unordered(
lambda unit: self.handle_page_unit(unit),
- self.get_progress(right_bound = 5)
+ self.get_progress(right_bound = 20)
))
rndsleep()

0 comments on commit 25b5fea

Please sign in to comment.