mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-30 10:13:09 -06:00
Fix blacklist again, remove unnecessary duplicate context
This commit is contained in:
parent
261b1a3a2c
commit
3f4e95fb76
|
|
@ -141,10 +141,8 @@ func (r *Inputer) InputRoomEvents(
|
||||||
roomserverInputBackpressure.With(prometheus.Labels{"room_id": roomID}).Inc()
|
roomserverInputBackpressure.With(prometheus.Labels{"room_id": roomID}).Inc()
|
||||||
worker := r.workerForRoom(roomID)
|
worker := r.workerForRoom(roomID)
|
||||||
worker.Act(nil, func() {
|
worker.Act(nil, func() {
|
||||||
reqctx, cancel := context.WithTimeout(ctx, MaximumProcessingTime)
|
|
||||||
defer cancel()
|
|
||||||
defer roomserverInputBackpressure.With(prometheus.Labels{"room_id": roomID}).Dec()
|
defer roomserverInputBackpressure.With(prometheus.Labels{"room_id": roomID}).Dec()
|
||||||
err := r.processRoomEvent(reqctx, &inputRoomEvent)
|
err := r.processRoomEvent(ctx, &inputRoomEvent)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
sentry.CaptureException(err)
|
sentry.CaptureException(err)
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
|
|
@ -32,4 +32,3 @@ Remove group role
|
||||||
|
|
||||||
# See https://github.com/matrix-org/sytest/pull/1142
|
# See https://github.com/matrix-org/sytest/pull/1142
|
||||||
Device list doesn't change if remote server is down
|
Device list doesn't change if remote server is down
|
||||||
If a device list update goes missing, the server resyncs on the next one
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue