[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mldonkey-users] 2.02-6 collects too many sources
From: |
Michael Panteleit |
Subject: |
Re: [Mldonkey-users] 2.02-6 collects too many sources |
Date: |
24 Jan 2003 11:34:53 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Common Lisp) |
Roland Arendes <address@hidden> writes:
> The max_sources_per_file parameter can be removed, as it
> seems to be ignored for 2.02-5 and newer.
Why not just unignore it? Is it so difficult to look if a file has
enough sources before we enqueue new ones?
> Queue[Ready Sources]: 240177 sources
Aren't these "new sources" never asked? There is a function in
donkeySources1.ml called need_new_sources:
let need_new_sources _ =
Fifo.length clients_queue < !!max_clients_per_second * 600
It should prevent asking for new sources if there are already
enough. I guess the flood of new sources with popular files comes from
mldonkey-source-propagation. We get these without asking.
Meikel