Comment 8 for bug 580163

Revision history for this message
eMTee (realprogger) wrote :

"add finished files instantly" adds the tth to the hashindex right away, but its the hub which gets the filter from the client, when it is INFormed about the share change. Question is that is it worth to make the hub get the filter after each and every share change because of the functions above. I think it isn't, because in some cases it may generate more traffic between the hub and client than without bloom filters at all.
I think the cleanest solution would be to check if any share change happened because of these two functions within a certain timeframe and if so then send the share changed INF to the hub (and clean the marker when any manual share change happens)