matrix-org / dendrite

Dendrite is a second-generation Matrix homeserver written in Go!
https://matrix-org.github.io/dendrite/
Apache License 2.0
5.67k stars 664 forks source link

configuration requests ack wait to be 2m10s, but consumer's value is 30s #2286

Closed BratishkaErik closed 2 years ago

BratishkaErik commented 2 years ago

Background information

Description

goroutine 1 [running]: github.com/sirupsen/logrus.(Entry).log(0xc000186fc0, 0x0, {0xc0000ef1a0, 0x24}) github.com/sirupsen/logrus@v1.8.1/entry.go:259 +0x43e github.com/sirupsen/logrus.(Entry).Log(0xc000186fc0, 0x0, {0xc0005ab910?, 0xc0005ab970?, 0x45f209?}) github.com/sirupsen/logrus@v1.8.1/entry.go:293 +0x4f github.com/sirupsen/logrus.(Entry).Panic(...) github.com/sirupsen/logrus@v1.8.1/entry.go:331 github.com/MFAshby/stdemuxerhook.(StdDemuxerHook).Fire(0x0?, 0xc000186ee0) github.com/MFAshby/stdemuxerhook@v1.0.0/stdemuxerhook.go:58 +0x19e github.com/sirupsen/logrus.LevelHooks.Fire(0xc0005aba50?, 0x5aba20?, 0x4?) github.com/sirupsen/logrus@v1.8.1/hooks.go:28 +0x82 github.com/sirupsen/logrus.(Entry).fireHooks(0xc000186ee0) github.com/sirupsen/logrus@v1.8.1/entry.go:272 +0x1dc github.com/sirupsen/logrus.(Entry).log(0xc000186e70, 0x0, {0xc0000ef140, 0x24}) github.com/sirupsen/logrus@v1.8.1/entry.go:241 +0x34f github.com/sirupsen/logrus.(Entry).Log(0xc000186e70, 0x0, {0xc0005abd08?, 0x11988a0?, 0xc000527900?}) github.com/sirupsen/logrus@v1.8.1/entry.go:293 +0x4f github.com/sirupsen/logrus.(Entry).Panic(...) github.com/sirupsen/logrus@v1.8.1/entry.go:331 github.com/matrix-org/dendrite/roomserver/internal.(*RoomserverInternalAPI).SetFederationAPI(0xc0002d12c0, {0x1563af8?, 0xc0004f4460}, 0xc000344450) github.com/matrix-org/dendrite/roomserver/internal/api.go:163 +0x8ea main.main() github.com/matrix-org/dendrite/cmd/dendrite-monolith-server/main.go:134 +0x86a


 - **When** did this first appear: IDK

### Steps to reproduce

- Not reproducible (With clean database and same config)
BratishkaErik commented 2 years ago

Tested 98a5e410d7ecae49f525ddabc55a86d8a6731f22, problem dissapeared. Thank you very much!