Skip to content

My bot is constantly connecting and disconnecting from TurboWarp's cloud unintentionally #335

@y-nk0427

Description

@y-nk0427

https://scratch.mit.edu/projects/1064835367/#comments-447726347

GarboMuffin wrote:

Hi there is some bot constantly connecting and disconnecting to this project on TurboWarp's cloud variable server. If you are the person running that bot can you please change it so that you open one connection instead of constantly opening and closing new ones or wait like 10 seconds between each connection. I really don't like blocking bots.

So I checked my bot's code, but it was like this:

  • s3_connection_tw = s3_session.connect_tw_cloud(1064835367, purpose=..., contact=...) runs only once outside an infinite loop
  • After that, always uses s3_connection_tw.set_var(name, value) when assigning to cloud variables

Why is this code constantly connecting and disconnecting?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions