wereii / lemmy-thumbnail-cleaner

MIT License
11 stars 1 forks source link

Batch postgres updates #1

Open wereii opened 7 months ago

wereii commented 7 months ago

While I like keeping this little program very simple (eg. no async), batching up the postgres updates into one should make this just a bit more efficient and possibly faster.

UPDATE post SET thumbnail_url = NULL WHERE thumbnail_url in (..., ...)