since about a week some feed folders set to "disable updates" keep updating often, for no reason that I can see. I guess I could just remove these feeds, but I like to view them sporadically and not get updates the rest of the time.
Please help me oh wonderous fox. :p Sorry to bother so much (seems I'm the only one who posts here and it's often these little bugs)
Problem with "disable updates" feeds again
- fox
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
- Contact:
Re: Problem with "disable updates" feeds again
Weird, this probably is related to latest changes with manual update handling. I'll look into it.
Re: Problem with "disable updates" feeds again
What version of the code are you using? The lastest in git, or a specific release?
I haven't seen a problem so far, but now I've got several feeds with updates disabled, so I'll look out for problems.
I haven't seen a problem so far, but now I've got several feeds with updates disabled, so I'll look out for problems.
- fox
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
- Contact:
Re: Problem with "disable updates" feeds again
Online is currently at last release I think.
- fox
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
- Contact:
Re: Problem with "disable updates" feeds again
Disabled feeds definitely do update now, so looks like you broke it. ![Smile :)](images/smilies/icon_smile.gif)
Last clause is going to match feeds with update_interval < 0 if they have never been updated or manual update have been scheduled (which makes sense, we want feeds to be updated manually even when auto-updates are disabled). Maybe that's what happens? If so, I don't see this as broken.
btw just wanted to mention that I'm not using feedburner anymore for forum rss feed (forum/rss.php).
Edit: Yep, only feeds that updated for me had 1970-01-01 last_updated, so I tend to file this as "works as intended".
![Smile :)](images/smilies/icon_smile.gif)
Code: Select all
$update_limit_qpart = "AND ((
ttrss_feeds.update_interval = 0
AND ttrss_feeds.last_updated < NOW() - CAST((ttrss_user_prefs.value || ' minutes') AS INTERVAL)
) OR (
ttrss_feeds.update_interval > 0
AND ttrss_feeds.last_updated < NOW() - CAST((ttrss_feeds.update_interval || ' minutes') AS INTERVAL)
) OR ttrss_feeds.last_updated IS NULL
OR last_updated = '1970-01-01 00:00:00')";
Last clause is going to match feeds with update_interval < 0 if they have never been updated or manual update have been scheduled (which makes sense, we want feeds to be updated manually even when auto-updates are disabled). Maybe that's what happens? If so, I don't see this as broken.
btw just wanted to mention that I'm not using feedburner anymore for forum rss feed (forum/rss.php).
Edit: Yep, only feeds that updated for me had 1970-01-01 last_updated, so I tend to file this as "works as intended".
Re: Problem with "disable updates" feeds again
fox wrote:Online is currently at last release I think.
Sorry I didn't make it clear - I was asking for the OP's version. Moot now.
- fox
- ^ me reading your posts ^
- Posts: 6318
- Joined: 27 Aug 2005, 22:53
- Location: Saint-Petersburg, Russia
- Contact:
Re: Problem with "disable updates" feeds again
Yep, I've posted the version cause this was asked in Online forum. ![Smile :)](images/smilies/icon_smile.gif)
![Smile :)](images/smilies/icon_smile.gif)
Who is online
Users browsing this forum: No registered users and 1 guest