matrix-org / synapse

Synapse: Matrix homeserver written in Python/Twisted.
https://matrix-org.github.io/synapse
Apache License 2.0
11.78k stars 2.13k forks source link

Synapse uploads thumbnail data to S3 #5411

Open rkfg opened 5 years ago

rkfg commented 5 years ago

Description

Synapse uploads not only local media but also URL cache (including thumbnails for both local media and URL previews). It shouldn't because this data is either temporary or can be generated locally without wasting money on S3 requests and storage.

Steps to reproduce

I expect to only have local_content there (optionally remote_content if enabled in the config).

Version information

Own server

0.99.2

From apt repo

Debian 9.9 amd64

squahtx commented 2 years ago

Splitting the url_cache aspect of this issue out into #10862