# Discord: Latency leading to Discord slowness and failed messages

- Impact (vendor’s label): major
- Status: resolved
- Started: 2020-06-18 04:42 UTC · Resolved: 2020-06-18 05:18 UTC · Duration: 36 min
- Updates: 1
- [Vendor status page: https://discordstatus.com/incidents/vt51gx49vyhp](https://discordstatus.com/incidents/vt51gx49vyhp)
- [Company: Discord](https://rewindex.com/company/discord.md)

## Timeline of updates

- **resolved** 2020-06-18 05:18 UTC: Everything is back to normal and stable. The root cause here was a deployment of our API system, which contained a bug in some new code that was creating too many database queries against one of our Postgres backends. This query was in the path of sending messages on Discord, which resulted in highly elevated latency on our API cluster and in particular on sending messages. We rolled back the code and reverted it, and tomorrow engineering will fix the issue and add some more safeguards around the particular part of the database library that caused the issue. (It is a system designed to basically coalesce queries so we can batch them to the database, but unfortunately in this case the batching was broken and we were generating many, many more queries than expected.)

_From the vendor’s published history: only the final update text is available for incidents before Rewindex began polling this page._


---
Canonical: https://rewindex.com/company/discord/incidents/vt51gx49vyhp · Markdown: https://rewindex.com/company/discord/incidents/vt51gx49vyhp.md · JSON: https://rewindex.com/api/v1/companies/discord/incidents/vt51gx49vyhp · Generated 2026-10-18T11:45:17.121Z
