r84758 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r84757‎ | r84758 | r84759 >
Date:19:44, 25 March 2011
Author:diederik
Status:deferred
Tags:
Comment:
Fixed queueing problem.
Modified paths:
  • /trunk/tools/editor_trends/etl/enricher.py (modified) (history)

Diff [purge]

Index: trunk/tools/editor_trends/etl/enricher.py
@@ -473,7 +473,7 @@
474474 print filename
475475 input_queue.put(filename)
476476
477 - for x in xrange(cpu_count()):
 477+ for x in xrange(processors):
478478 input_queue.put(None)
479479
480480 extracters = [Process(target=stream_raw_xml, args=[input_queue, storage, id, function, dataset])

Status & tagging log