Keep ItemCount on Feed struct for computed values (not stored in DB)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -23,8 +23,8 @@ type Feed struct {
|
||||
Status string `json:"status"`
|
||||
LastError string `json:"last_error,omitempty"`
|
||||
|
||||
// Content stats
|
||||
ItemCount int `json:"item_count,omitempty"` // Number of items in last feed_check
|
||||
// Computed from items table (not stored in feeds table)
|
||||
ItemCount int `json:"item_count,omitempty"`
|
||||
|
||||
// Adaptive check interval
|
||||
MissCount int `json:"miss_count"` // Consecutive checks with no new items
|
||||
|
||||
Reference in New Issue
Block a user