Quoting Haxe <[EMAIL PROTECTED]> from ml.softs.gtk-gnutella.devel:
:I had a similar problem. It was not as distinct as yours, so I didn't post it 
:here, but It seemed to me that sometimes some searches are ignored over a 
:longer time (several times the reissue interval), at least for some of my 
:ultrapeer connections, even if I set up only two or three different searches. 
:I did't see this when I just started gtkg, but when a new connection to an 
:ultrapeer was made (I am always a leaf node).

You've hit a "feature" that is good for the network: any search which
piles up the configured amount of max results will be disabled.  If you
use GTK1, you'll see the search entry being grayed out in the list on
the left. This was never done in GTK2, don't know why nor how to do it.

(obviously, your ability to see them grayed out depends on your GTK theme.)

The rationale behind the "feature" is that if you have a search that is
popular, then you're consuming network bandwidth.  If you're not physically
present to "consume" those results, then after some time, it becomes wasteful
to search the network, since results won't be able to show-up anyway (you've
hit the maximum).

The "disabled" status is also sticky, so stopping/relaunching is not going
to cure the problem: you need to restart the search.

Another feature is that the more search results you already have, the less
frequent the requeries are made.  This does not trigger unless you've
reached 20% of the max results.  But then the decay is exponentially
stronger.  I don't recall exactly, but at 99% of the results, the retry
is only made at 10 times the configured retry, or something like that.

It was either that, or stop doing automated requeries.  I preferred to
auto-adapt, but the GDF guidelines are "no automatic requery, period.".
I beleive the adaptative system I designed is a good compromise.

Raphael


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to