[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mldonkey-users] good_client_rank
From: |
Martin |
Subject: |
Re: [Mldonkey-users] good_client_rank |
Date: |
Thu, 6 Mar 2003 12:16:01 +0100 |
User-agent: |
Mutt |
Michael Panteleit wrote...
> Martin <address@hidden> writes:
> > It does! this describes the highest rank in a queue mld will accept...if
> > you get a higher rank this client will be dismissed.
> Are you sure? If you are right, I really don't understand the source
> code or there is something really buggy.
Well....at least it should....
> donkeySource3.ml
> | File_chunk when c.client_rank > !!good_client_rank ->
> if not (List.memq file s.source_in_queues) then begin
> SourcesQueue.put
> file.file_sources.(good_sources_queue)
> (last_time() , s);
> s.source_in_queues <- file :: s.source_in_queues
> end
> Looks like "if client_rank of a client is bigger than the option
> good_client_rank the source is put into good_sources_queue".
Looks to me like that too....but my ocaml-skills are not good for
anything....maybe someone else can explain this....
--
Before replying see www.reedmedia.net/misc/mail/using-mailing-list.html
I don't have a big ego, I'm way too cool for that.