def declare_queues(self, queues): from r2.config.queues import MessageQueue queues.declare({ "robin_presence_q": MessageQueue(), "robin_waitinglist_q": MessageQueue(bind_to_self=True), "robin_subreddit_maker_q": MessageQueue(bind_to_self=True), }) queues.robin_presence_q << ( "websocket.connect", "websocket.disconnect", )
def declare_queues(self, queues): from r2.config.queues import MessageQueue from reddit_dfp import queue queues.declare({ queue.DFP_QUEUE: MessageQueue(bind_to_self=True), })
def declare_queues(self, queues): from r2.config.queues import MessageQueue queues.declare({ "liveupdate_scraper_q": MessageQueue(bind_to_self=True), }) queues.liveupdate_scraper_q << ("new_liveupdate_update", )
def declare_queues(self, queues): # imported here so we don't depend on pyx files at import time # which allows "make" to work in a clean clone of the repos from r2.config.queues import MessageQueue queues.declare({ "steam_q": MessageQueue(bind_to_self=True), })
def declare_queues(self, queues): from r2.config.queues import MessageQueue queues.declare({ "buttonflair_q": MessageQueue(), }) queues.buttonflair_q << ( "new_comment", "new_link", )
def declare_queues(self, queues): from r2.config.queues import MessageQueue queues.declare({ "adzerk_q": MessageQueue(bind_to_self=True), "adzerk_reporting_q": MessageQueue(bind_to_self=True), })