Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worker: Log improvements and WORKER_MAX_SOCKET_TIMEOUT_SECONDS #749

Merged
merged 9 commits into from
Aug 23, 2024

Conversation

josephjclark
Copy link
Collaborator

@josephjclark josephjclark commented Aug 21, 2024

Adds WORKER_MAX_SOCKET_TIMEOUT_SECONDS variable to control socket timeouts.

A few other tiny logging tweaks here.

@josephjclark josephjclark changed the title Worker logs & docs Worker: Log improvements and WORKER_MAX_SOCKET_TIMEOUT_SECONDS Aug 22, 2024
@josephjclark
Copy link
Collaborator Author

@taylordowns2000 The websocket timeout should be working on this branch Image should be built for 1.5.5

I don't have any automated or manual tests on the actual timeout. I know the value is being passed in to the Pheonix socket, I've just not verified it's working. It's a little tricky to setup a slow response in the mock - although it should be possible of course.

If you can test manually on the image I'm happy to release. I'll probably spend an hour on it in the morning and see if I can crack it quickly.

@josephjclark
Copy link
Collaborator Author

Oh bottoms, it's all failed :( Ok, I'll fix in the morning

@josephjclark
Copy link
Collaborator Author

Ok, should be sorted now 👍

@josephjclark
Copy link
Collaborator Author

Test added so I'm happy that this is working as expected

@taylordowns2000 taylordowns2000 merged commit 6274e96 into main Aug 23, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants