Allow pluggable backends on msgbus module.

Prepare it to use different backends than redis.
This commit is contained in:
Andrey Antukh 2021-03-07 20:30:41 +01:00
parent e446f47e2c
commit c16a24a59a
2 changed files with 153 additions and 150 deletions

View file

@ -58,7 +58,9 @@
{}
:app.msgbus/msgbus
{:uri (:redis-uri config)}
{:backend (:msgbus-backend config :redis)
:pool (ig/ref :app.db/pool)
:redis-uri (:redis-uri config)}
:app.tokens/tokens
{:sprops (ig/ref :app.setup/props)}