Changeset - 200e6631787e
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 14 years ago 2011-08-27 16:55:58
marcin@python-works.com
removed buggy iteration over file nodes in whoosh indexer, this greatly improves speed of indexing.
1 file changed with 0 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/indexers/daemon.py
Show inline comments
 
@@ -112,9 +112,6 @@ class WhooshIndexingDaemon(object):
 
            for topnode, dirs, files in tip.walk('/'):
 
                for f in files:
 
                    index_paths_.add(jn(repo.path, f.path))
 
                for dir in dirs:
 
                    for f in files:
 
                        index_paths_.add(jn(repo.path, f.path))
 

	
 
        except RepositoryError, e:
 
            log.debug(traceback.format_exc())
0 comments (0 inline, 0 general)