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.

  • @[email protected]
    link
    fedilink
    61 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!

    • @[email protected]
      link
      fedilink
      61 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.

      • @[email protected]
        link
        fedilink
        21 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.

    • @[email protected]
      link
      fedilink
      41 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.