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

Fix double eval #16

Merged
merged 7 commits into from
May 21, 2020
Merged

Fix double eval #16

merged 7 commits into from
May 21, 2020

Conversation

davisp
Copy link
Contributor

@davisp davisp commented May 21, 2020

Minimize the impact of errors in ateles_server when creating JS contexts fails. Also add logging to attempt to diagnose why those errors are happening in the first place. And a couple unit test fixes exposed by running on Erlang 22.

Closing persistent connections on timeout has generated a bit of
confusion. I've gone ahead and silenced the log message.
This was a race condition causing flaky unit tests.
If a context initialization failed it would take down ateles_server. If
enough failed fast enough it would cascade to the entire app and then
Erlang VM.
These will also be logged so we can debug the double eval issue.
This is debug logging to be removed when we figure out the double eval
issue.
@davisp davisp merged commit bbfb9cf into master May 21, 2020
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.

3 participants