ipni / storetheindex

A directory of CIDs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Temporarily block publisher with no provider addresses in advertisements

gammazero opened this issue · comments

Publishers are publishing advertisements without any routable (public) provider addresses. The advertisement chains are growing to many 10 of thousands of advertisements in length. Every time a new advertisement is published, the indexer traverses that chain to process it, only to find that there are still no addresses on the chain. With a number of publishers doing this, the indexer spends a significant amount of time doing useless work, consuming workers that could otherwise be used for indexing.

To prevent useless chain traversal every time an advertisement is published, the indexer should temporarily ignore (block) communication with publishers that do not have usable ad chains.