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

delayed_endpoint_close: honor when websocket connects before job finishes #38

Merged
merged 1 commit into from Feb 11, 2016

Conversation

go-oleg
Copy link
Contributor

@go-oleg go-oleg commented Feb 11, 2016

self._delayed_endpoint_close was hangin out in the call to forEach instead of setTimeout

@mstemm

@mstemm
Copy link

mstemm commented Feb 11, 2016

yes that looks correct. sorry for the bug. I did have a test for this but it was only for the case where the websocket connects after the program has finished.

@mstemm
Copy link

mstemm commented Feb 11, 2016

and lgtm.

go-oleg added a commit that referenced this pull request Feb 11, 2016
delayed_endpoint_close: honor when websocket connects before job finishes
@go-oleg go-oleg merged commit 67c6271 into master Feb 11, 2016
@go-oleg go-oleg deleted the fix-delayed-websocket-close branch February 11, 2016 20:37
@go-oleg
Copy link
Contributor Author

go-oleg commented Feb 11, 2016

Noting this is a fix for the previous fix for #9 (still uses the same temporary strategy).

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.

None yet

2 participants