Bug in feed purging (git head) of some sort

Development-related discussion, including bundled plugins
troyengel
Bear Rating Trainee
Bear Rating Trainee
Posts: 18
Joined: 23 Mar 2013, 19:39

Bug in feed purging (git head) of some sort

Postby troyengel » 21 Feb 2016, 18:34


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Bug in feed purging (git head) of some sort

Postby fox » 21 Feb 2016, 18:42

wiki -> faq

e: also try reading the comments in that code block you linked

troyengel
Bear Rating Trainee
Bear Rating Trainee
Posts: 18
Joined: 23 Mar 2013, 19:39

Re: Bug in feed purging (git head) of some sort

Postby troyengel » 21 Feb 2016, 19:06


User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Bug in feed purging (git head) of some sort

Postby fox » 21 Feb 2016, 19:14

my advice would be not bothering with this because it's not worth the effort

also, that scheme you invented is absolutely terrible, and there's no fucking way in hell i'm going to replace currently working 100% bulletproof scheme with this abomination all to save a few bytes in the database or w/e is the stated goal here

in short, the purging works as intended

e: also, just in case, if-modified-since has nothing to do with this (and tt-rss does not support this header currently)

troyengel
Bear Rating Trainee
Bear Rating Trainee
Posts: 18
Joined: 23 Mar 2013, 19:39

Re: Bug in feed purging (git head) of some sort

Postby troyengel » 21 Feb 2016, 19:53


JustAMacUser
Bear Rating Overlord
Bear Rating Overlord
Posts: 373
Joined: 20 Aug 2013, 23:13

Re: Bug in feed purging (git head) of some sort

Postby JustAMacUser » 21 Feb 2016, 20:40

fox's playground so fox's rules...

I agree with fox, too, the current code works (and it works well). The content column is not indexed so there's no concern about excess RAM usage; that stuff stays on disk. And disk space is cheap. Even if the total were several GBs it wouldn't really matter much.

You'd be better off asking the site admins why they feel they need to serve content that's years old in their feed.

User avatar
fox
^ me reading your posts ^
Posts: 6318
Joined: 27 Aug 2005, 22:53
Location: Saint-Petersburg, Russia
Contact:

Re: Bug in feed purging (git head) of some sort

Postby fox » 21 Feb 2016, 20:41

op, protip: instead of trying to push horrific hacks into mainline code, you can utilize the plugin system which exists for this exact reason

that said i'd also like to ask you to please stop hurting my brain with your ideas and your code, thanks

>You'd be better off asking the site admins why they feel they need to serve content that's years old in their feed.

^ this


Return to “Development”

Who is online

Users browsing this forum: No registered users and 3 guests