ipni / index-provider

📢 Index Provider

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add a new configuration option to publish a Reframe Advertisement after X minutes even if it's not full

ischasny opened this issue · comments

Currently index-provider publishes Reframe Advertisements only after they reach the configured ChunkSize. This is an issue for the nodes that don't have their data changed often. They can have the "current" Advertisement be stuck for a while, which prevents a part of their CIDs from getting indexed quickly.

We need Reframe Advertisements to be published once they reach the configured size or after X minutes, whichever comes first. Where X is a new configuration parameter.