element-hq / element-hq/element-web

Client is requesting URL previews too fast

Open
#22,520 2 comments 0 reactions 0 assignees View on GitHub
A-URL-Previews Hacktoberfest Help Wanted O-Occasional S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Open a room
2. Send a lot of messages containing URLs that can be previewed
3. Fully reload the page

### Outcome

#### What did you expect?
Client download URL previews for all links

#### What happened instead?
Only a small amount of URLs get previewed, the rest return 429 Too Many Requests
![image](https://user-images.githubusercontent.com/21126698/173067392-4bcb9719-1831-467f-bc80-d14275eabb16.png)

### Operating system

Arch Linux

### Browser information

Brave 1.39.111 Chromium: 102.0.5005.61 (Official Build) (64-bit)

### URL for webapp

element.ryhn.link

### Application version

1.10.13, git commit 70a2474

### Homeserver

ryhn.link, Synapse 1.60.0

### Will you send logs?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.