Hi, here’s some feedback about image upload:

  • GIFs don’t work in all communities, and when they do on the web client (at least with firefox) the preview is in the thumbnail which makes them unwatchable. However WebP animated images work as expected!
  • Making albums is tedious, but I suppose everyone is well aware
  • There’s a 10 second timeout on image upload. Afterwards I receive: Request error: error sending request for url (http://pictrs:8080/image): operation timed out. Hopefully I haven’t filled the disk with 30 MiB of garbage that I wasn’t able to delete, but if I have sorry about that! Hopefully the server architecture is resilient enough to DoS, and the frontend will soon be updated not to attempt files that are bigger than can be ingested by the server.
  • nsfwaccount411@lemmynsfw.comOP
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    20 MiB is more than enough! In .webp format you can fit any short repeating gif in reasonable quality in under 2 MiB (very short gifs in under 0.5 MiB).

    However even with a 2 MiB .webp, the request was timing out server-side before it could be accepted. Ideally the size limit would be low enough and the timout large enough that the former would (almost) always trigger before the latter. Maybe the transcoding service was just peacing out though.

    Anyway thanks for the good work!

    • yay@lemmynsfw.com
      link
      fedilink
      arrow-up
      2
      ·
      1 year ago

      I checked it but unfortunately it’s about Lemmy’s backend instead of proxy. The timeout hard-coded into code and I’m getting strange errors while building it. Unfortunately I can’t perform a fix now :/