diff options
author | 2018-05-30 22:38:54 +0100 | |
---|---|---|
committer | 2018-05-30 22:38:54 +0100 | |
commit | aaa387a5b3bdb9bc416690dccef66196c76d373e (patch) | |
tree | 270900787f1f8d76a97279f277fb281d45f37859 /pysite/queues.py | |
parent | Add FAQ about LPTHW (diff) |
RabbitMQ mixin, powered by Kombu (#84)
* [RMQ] Add Kombi an an RMQMixin, as well as some constants
* [RMQ] Fix example in mixin docstring
* Update Pipfile.lock - for some reason, pipenv didn't lock kombu
Diffstat (limited to '')
-rw-r--r-- | pysite/queues.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pysite/queues.py b/pysite/queues.py new file mode 100644 index 00000000..7a200208 --- /dev/null +++ b/pysite/queues.py @@ -0,0 +1,5 @@ +from kombu import Queue + +QUEUES = { # RabbitMQ Queue definitions, they'll be declared at gunicorn start time + "bot_events": Queue("bot_events", durable=True) +} |