Skip to content

No timeout for socket connections #16

Description

@TheLogFather

I'm finding that, occasionally, when Scratch Cloud has problems, the cloud socket will just hang when making a request.

I'm assuming this is because there's no timeout for the socket – and, since it's blocking, it just sits there waiting for a reply that'll never come.

Can we add a self.connection.setdefaulttimeout(15.0), or something, just after it creates the socket?
(I've added it to mine, but I've yet to see the situation arise again, so don't know for sure that it fixes the problem I see with it hanging occasionally when cloud goes bad – but don't know what else it could be...)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions