bbf05b3863552985e4b03eceb401766bedcb9d59
Blogs.IsActive is the crawler's work-selection flag (Rolodex removal sets it to 0) and is independent of Posts.IsActive/Notes.IsActive -- deactivating a blog never touches its posts' own IsActive column, so --collect 1 kept re-queuing posts for blogs that had been deactivated. Join Blogs into the PostsWithCount CTE's source filter and require COALESCE(BL.IsActive, 1) = 1. Since the hardcoded zomb-eh re-queue branch reads from PostsWithCount rather than Posts directly, it now inherits this filter automatically -- if zomb-eh is ever deactivated, its rows disappear from PostsWithCount and the union branch contributes nothing, with no special-case code needed. Co-Authored-By: Claude Sonnet 5 <[email protected]>
Description
No description provided
137 MiB
Languages
C#
95.9%
PLpgSQL
4.1%