ygrek / mldonkey

cross-platform multi-network p2p daemon (previously at http://mldonkey.sourceforge.net/)
Other
247 stars 46 forks source link

Rebuilding every time the shared files list #23

Open rokafeller opened 7 years ago

rokafeller commented 7 years ago

Hi, everytime I run mlnet daemon it starts building the shared files list from scratch, computing md4's, etc. Does this really need to happen every time I start mlnet? any chance to have a differential handling of shared files list?

r-jordan commented 3 years ago

Hi, I'm having this same issue with 3.1.7 version.

Only the file shared_files_new.ini is updated but the file shared_files.ini remains empty and the files are scanned again every time mlnet daemon is started.

I tried to rename the share_files_new.ini to share_files.ini when the daemon is stopped and to start it again. Then it shows the following in the mlnet.log and it doesn't start:

Exception: Failure("Bad shared file ttr") while handling option:shared_files 
  in shared_files.ini
Aborting

Seems that some bug prevents the shared_files.ini to be updated.