Fixed a couple of bugs today:

  • Nasty one that made the bot get stuck in an infinite when trying to add a post by a deleted user, which kept the bit offline for most of last night.
  • Another creative one that, when posting certain links, would actually work, but the lemmy gateway would respond with a timeout. It only happens on certain links, but consistently. Which would make the bot think it was unsuccessful, which would make it try to post again the next time. Causing a duplicate post each time (technically it was a cross post to itself… Which is interesting in a whole new way).

TLDR: right now there is a workaround in place that assumes a timeout post to lemmit was actually successful. This might cause it to drop posts in the future, but seeing that the server is barely breaking a sweat at this time, it should be good until a better fix is implemented.

Also got some great feedback from users, which I added to the TODO.

  • @adminOPMA
    link
    fedilink
    English
    11 year ago

    Side note: I also noticed that some Subreddit Requests weren’t picked up. I’m suspecting this might be because I left a tab open logged in as the bot, and it therefore considered those requests as “read” (even though they weren’t actually opened by the bot).

    Tabs are closed, so hopefully any new requests will get picked up.

    • @adminOPMA
      link
      fedilink
      English
      11 year ago

      Didn’t I tell you to only monitor the Requests community?

      Bad bot.