summaryrefslogtreecommitdiff
path: root/lib/git/async/pool.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-11 16:47:40 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-11 16:47:40 +0200
commit29eb123beb1c55e5db4aa652d843adccbd09ae18 (patch)
treefc85ccf6a7eaf87b35058915b534ccf634f2ff94 /lib/git/async/pool.py
parentf606937a7a21237c866efafcad33675e6539c103 (diff)
parente14e3f143e7260de9581aee27e5a9b2645db72de (diff)
downloadgitpython-29eb123beb1c55e5db4aa652d843adccbd09ae18.tar.gz
Merge branch 'cleanup' into async
Diffstat (limited to 'lib/git/async/pool.py')
-rw-r--r--lib/git/async/pool.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/git/async/pool.py b/lib/git/async/pool.py
index dbc201a9..7ee3e8eb 100644
--- a/lib/git/async/pool.py
+++ b/lib/git/async/pool.py
@@ -95,10 +95,6 @@ class PoolReader(CallbackReader):
# provided enough - its better to have some possibly empty task runs
# than having and empty queue that blocks.
- # NOTE: TODO: that case is only possible if one Task could be connected
- # to multiple input channels in a manner known by the system. Currently
- # this is not possible, but should be implemented at some point.
-
# if the user tries to use us to read from a done task, we will never
# compute as all produced items are already in the channel
task = self._task_ref()
@@ -260,8 +256,6 @@ class Pool(object):
# the following loops are kind of unrolled - code duplication
# should make things execute faster. Putting the if statements
# into the loop would be less code, but ... slower
- # DEBUG
- # print actual_count, numchunks, chunksize, remainder, task._out_writer.size()
if self._num_workers:
# respect the chunk size, and split the task up if we want
# to process too much. This can be defined per task