Could it crash if enough accounts post links that need converting? Either if enough people started spamming links or someone got a bot to make posts.

  • fubo@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    1 year ago

    I haven’t read the code, but I would expect that it would not crash but just queue up a lot of work and proceed through it steadily.

    • Pechente@feddit.de
      link
      fedilink
      English
      arrow-up
      8
      ·
      1 year ago

      So it could essentially be locked if too many links are constantly posted - but then the creator could just give it more resources to catch up with the queue. In addition to this, the link conversion is ridiculously simple as it’s just appending the video id to a piped-link (no complex calculation or API requests required). So it doesn’t even need a lot of resources to begin with.

  • bonn2@lemm.ee
    link
    fedilink
    arrow-up
    11
    ·
    edit-2
    1 year ago

    With how simple its job is, I imagine something else would likely break first.