Skip to content

wsa: add 1 second sleep before each request - #47

Draft
mcatanzaro wants to merge 1 commit into
masterfrom
mcatanzaro/wsapt2
Draft

wsa: add 1 second sleep before each request#47
mcatanzaro wants to merge 1 commit into
masterfrom
mcatanzaro/wsapt2

Conversation

@mcatanzaro

Copy link
Copy Markdown
Contributor

This change makes wsa check work without timing out.

Note that while this works in practice, it doesn't entirely make sense: there's now 10 threads that each have their own completely separate one second timeouts.

This is necessary to avoid Apple stalling the requests.
@mcatanzaro

mcatanzaro commented Jul 9, 2026

Copy link
Copy Markdown
Contributor Author

Hm, this was enough an hour ago, but it no longer works: I'm getting blocked again. I guess it's not a reliable solution.

@mcatanzaro

Copy link
Copy Markdown
Contributor Author

2 second sleep with 1 thread max seems to work, but I have no clue whether it would be reliable.

@aperezdc

Copy link
Copy Markdown
Contributor

Interestingly enough, I have been using wsa check today without this workaround and the server has been respondin just fine... I wonder if some geographical location is somehow taken into account by the server 🤔

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants