-
Notifications
You must be signed in to change notification settings - Fork 0
Services
There are several runscripts in the /srv/ directory of the repository. This page aims to document what they do.
Voting on a link or comment inserts an item on one of these queues. The queue processors read the votes and process them to detect cheating then update the scores accordingly.
When a link is submitted, it is added to the scraper_q for deferred processing. This queue processor works through the submitted links and will scrape the submitted URL for media embed information and thumbnails.
After a comment is created, this queue processor does the work of updating the comment tree data structures.
This processor inserts items onto the /comments listing. It exists because the lock contention of prepending to the list from every app was too high.