• DriveWorld@lemdit.comOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    I believe (but I’m not positive) that was on account of something else; the script had thrown a network-related exception overnight (I’m in east coast USA, UTC-4) and I didn’t restart it until I woke up. I read a little more about the API specs today and the more I learn, the more I realize I’m doing hacky stuff instead of utilizing the native commands that do what I need. I’ve made a couple changes since then https://git.teets.us/grapemane/MastodonDreamBot/commit/6ba075987b1f3910cd462b9cfa151ba1386bd36e

    • grapemane@lemdit.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      It went down overnight tonight too - I think there is a limit on how long you can maintain an open connection to mastodon. I think I need to close and reopen the connection periodically