mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-29 17:53: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()
|
||||
worker := r.workerForRoom(roomID)
|
||||
worker.Act(nil, func() {
|
||||
reqctx, cancel := context.WithTimeout(ctx, MaximumProcessingTime)
|
||||
defer cancel()
|
||||
defer roomserverInputBackpressure.With(prometheus.Labels{"room_id": roomID}).Dec()
|
||||
err := r.processRoomEvent(reqctx, &inputRoomEvent)
|
||||
err := r.processRoomEvent(ctx, &inputRoomEvent)
|
||||
if err != nil {
|
||||
sentry.CaptureException(err)
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -32,4 +32,3 @@ Remove group role
|
|||
|
||||
# See https://github.com/matrix-org/sytest/pull/1142
|
||||
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