Repository navigation
reddit: firehose keeps every /r/* feed current; fix nested NUL placeholders - #279
Merged
Merged
Conversation
…olders All ~50k subreddits hourly by asking each one is ~14 req/s to a volunteer mirror. Instead a poller job (reddit-firehose, every 2 min) pages every new post on Reddit from Arctic Shift (~25 posts/s = ~15 req/min, ~1 min behind Reddit), matches r:sub:<subreddit> and r:user:<author> rows, and runs each through crawlFeed with the posts in hand (dedupe/FTS/keywords/schedule as a normal crawl). REDDIT_FIREHOSE=0 switches it off; REDDIT_FIREHOSE_MS sets the pace. The NUL write failures were our own: redditMarkdown's \u0000N\u0000 placeholders nest (code span inside a link label) and a single restore pass leaked the inner one. Restore until none remain, then strip. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sh1pt-actions-fleet
Bot
force-pushed
the
reddit-firehose
branch
from
November 9, 2026 19:54
9936ca7 to
6324caf
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #278: all r/* feeds hourly (in practice ~2-3 min behind Reddit) via the Arctic Shift site-wide stream, plus the real source of the NUL write failures.
🤖 Generated with Claude Code