feedstate fixes

This commit is contained in:
nkanaev
2026-05-18 20:18:33 +01:00
parent 85f3956b24
commit 847ec3861a
3 changed files with 10 additions and 8 deletions

View File

@@ -366,11 +366,11 @@ func m13_consolidate_feed_states(tx *sql.Tx) error {
, http_etag
)
select
f.id,
coalesce(h.last_refreshed, 0),
coalesce(e.error, '')
coalesce(h.last_modified, ''),
coalesce(h.etag, ''),
f.id
, coalesce(h.last_refreshed, 0)
, coalesce(e.error, '')
, coalesce(h.last_modified, '')
, coalesce(h.etag, '')
from feeds f
left join http_states h on f.id = h.feed_id
left join feed_errors e on f.id = e.feed_id