telegram-rss-bot icon indicating copy to clipboard operation
telegram-rss-bot copied to clipboard

Feed duplication

Open 0x111 opened this issue 4 years ago • 0 comments

The implementation was done in a more of personal look, so I did not think about this while development.

At the moment, we are checking if the feed already exists for current channel, this is fine, but we would need to extend this logic. One can add the same feed url many times, this would mean the app would load the same feed n times over and over, although on a different channel. This is obviously a waste of resources.

We need a way, to determine if the feed already exists (it does not matter if on a different channel) and just reuse that, instead of loading the same feed many times, we would do this once only and improve the process.

0x111 avatar Feb 12 '21 09:02 0x111