Skip to content

Revamp irc bot plugin and queue

BryanDavis requested to merge work/bd808/irc-plugin-and-queue-revamp into main
  • Fix AsyncRedisQueue.get() to properly interface with asyncio_redis' blpop implementation
  • Refactor wikibugs2.irc.Redis2Irc into an irc3.plugin using AsyncRedisQueue
  • Switch AsyncRedisQueue to use redis.asyncio instead of asyncio-redis

The overall intent is to make the Redis connection more robust in the face of network failures. In local testing the code recovers from a complete restart cycle of the Redis server and emits logging to explain the current state as it does.

Bug: T359982 Bug: T360074

Edited by BryanDavis

Merge request reports