scratchattach icon indicating copy to clipboard operation
scratchattach copied to clipboard

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

Open y-nk0427 opened this issue 10 months ago • 7 comments

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?

y-nk0427 avatar Jan 24 '25 11:01 y-nk0427