See #378. Additional fix for batch mode
git-svn-id: file:///home/svn/framework3/trunk@7264 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
8328bf654b
commit
6da0013b91
|
@ -153,7 +153,7 @@ def run
|
|||
|
||||
# Create a thread for each batch
|
||||
if (batch.length > 0)
|
||||
t << Thread.new(batch) do |bat|
|
||||
t = Thread.new(batch) do |bat|
|
||||
nmod = self.replicant
|
||||
mybatch = bat.dup
|
||||
begin
|
||||
|
@ -192,7 +192,7 @@ def run
|
|||
tlb = 0
|
||||
tl.map {|t| tlb += t[:batch_size] }
|
||||
|
||||
@range_done = tla - tlb
|
||||
@range_done += tla - tlb
|
||||
scanner_show_progress()
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue