With the sluggishness of the site these last few days you can sometimes get slowness or infinitely loading icon when hitting submit. If you aren’t sure if your post submitted, refresh the original page in a different tab before hitting submit again to see if it went through. I see double and triple posts in almost every comment section.

  • ImplyingImplications@lemmy.ca
    link
    fedilink
    arrow-up
    6
    ·
    1 year ago

    Yes! The Lemmy devs should make it so that you can’t hit the submit button 10 times in a row. People hit submit and nothing happens so they hit it again and again and again. Now there’s a bunch of identical posts.

    I remember the old days where sites would have a message saying “only hit submit once”. That’s gone now since sites prevent users from hitting submit more than once. I don’t think Lemmy is doing that though!

    • The2b@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 year ago

      You should be able to hit the submit button as many times as you want, but it should have a single transaction ID so the server can ignore duplicate submissions.

      • lightswitchr@lemmy.world
        link
        fedilink
        arrow-up
        2
        ·
        1 year ago

        Yep, it’s called an idempotent key. The server gets a request with a specific key (usually a random guid), stores it and ignores any further requests with the same key. It would be a great addition to Lemmy.

    • douglasg14b@lemmy.world
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      1 year ago

      It’s problematic because often you’ll get an error that says it failed to post the comment. In which case it’s fair to try again, but it actually posted anyways.