0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-21 06:23:49 +01:00
dendrite/setup/jetstream
Neil Alexander 98a5e410d7
Per-room consumers (#2293)
* Roomserver input refactoring — again!

* Ensure the actor runs again

* Preserve consumer after unsubscribe

* Another sprinkling of magic

* Rename `TopicFor` to `Prefixed`

* Recreate the stream if the config is bad

* Check streams too

* Prefix subjects, preserve inboxes

* Recreate if subjects wrong

* Remove stream subject

* Reconstruct properly

* Fix mutex unlock

* Comments

* Fix tests

* Don't drop events

* Review comments

* Separate `queueInputRoomEvents` function

* Re-jig control flow a bit
2022-03-23 10:20:18 +00:00
..
helpers.go Stream tweaks, use same codepath for sync vs async input room events, wait for error response via NATS messages (#2283) 2022-03-16 14:21:11 +00:00
nats.go Per-room consumers (#2293) 2022-03-23 10:20:18 +00:00
streams.go Per-room consumers (#2293) 2022-03-23 10:20:18 +00:00