Don't write known.met after hashing 30 filesamule-svn-r10601
commitebde60968b129a92783b8eb9f04c001fa1df6bdc
authorupstream svn <svn@amule.org>
Sat, 27 Aug 2011 20:28:32 +0000 (27 20:28 +0000)
committerDévai Tamás <gonosztopi@amule.org>
Tue, 30 Aug 2011 07:00:17 +0000 (30 07:00 +0000)
treed48542b06ffc9eb2f5fda8d57d0ebde63b4df6a7
parentf290ca7f3861b48064cab07832d6d4942a555e3c
Don't write known.met after hashing 30 files

For large files it's written anyway after 300MB, and for many small files it
totally screws up the "hashing in the background" concept, because it's
written in the foreground.

Also initialize a variable and open then known file database in read-only mode.
.svn-revision
docs/Changelog
src/ThreadTasks.cpp
src/amule.cpp