summaryrefslogtreecommitdiff
path: root/plugins/broadcast/config.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/broadcast/config.go')
-rw-r--r--plugins/broadcast/config.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/broadcast/config.go b/plugins/broadcast/config.go
index 18846f30..4f1e5213 100644
--- a/plugins/broadcast/config.go
+++ b/plugins/broadcast/config.go
@@ -1,6 +1,9 @@
package broadcast
/*
+
+# Global redis config (priority - 2)
+
websockets: # <----- one of possible subscribers
path: /ws
broker: default # <------ broadcast broker to use --------------- |
@@ -8,9 +11,12 @@ websockets: # <----- one of possible subscribers
broadcast: # <-------- broadcast entry point plugin |
default: # <----------------------------------------------------- |
driver: redis
+ # local redis config (priority - 1)
test:
driver: memory
+
+priority local -> global
*/
// Config ...