lib/picolena/templates/app/models/indexer.rb in picolena-0.1.3 vs lib/picolena/templates/app/models/indexer.rb in picolena-0.1.4
- old
+ new
@@ -57,10 +57,10 @@
indexing_list=Dir[File.join(dir,"**/*")].select{|filename|
File.file?(filename) && filename !~ @@exclude
}
- indexing_list_chunks=indexing_list.in_transposed_chunks(threads_number)
+ indexing_list_chunks=indexing_list.in_transposed_slices(threads_number)
indexing_list_chunks.each_with_thread{|chunk|
chunk.each{|filename|
add_or_update_file(filename)
}
\ No newline at end of file