Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
penalize duplicates #35
The idea behind this patch is primarily to save upload bandwidth by sending fewer nodes back to duplicate requests from IPs. It only affects nodes that actually make it into the ping_queue, but any request from an IP that's in the queue receives 3 nodes, instead of the configured number (16 by default).
My experience is that at least a 1/3rd of all incoming requests fall into this category.