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
    12
    edit-2
    1 year ago

    Just to add to this, at least in wefwef, I sometimes get an error when I tap Post, saying that it failed. I am then left on the page, and can hit Post again. But it didn’t fail the first time, the post was made.

    So this is not just users being impatient. There is a bug.

    • @[email protected]
      link
      fedilink
      5
      edit-2
      1 year ago

      Might be due to either the websocket removal, or the sluggishness that does it.

      The post processes, but the app doesn’t get a response confirming that the post has been made, so it sits there until the app times out.

      • @[email protected]
        link
        fedilink
        4
        edit-2
        1 year ago

        I have not written real code for a very long time, and I don’t know the lemmy code base at all… but I described this bug to GPT-4 and it just turned me on to idempotency.

        https://stripe.com/blog/idempotency

        The call could succeed, but the connection breaks before the server can tell its client about it.