Skip to content
This repository was archived by the owner on Sep 27, 2021. It is now read-only.

Conversation

Flambe
Copy link

@Flambe Flambe commented Jan 22, 2020

Proposed changes

I've replaced the error inside Connection.makeEventPacket to a debug message as this was blocking broadcasts from being sent when a socket connection was closed. As far as I can tell, this does not cause any breaking changes.

Types of changes

What types of changes does your code introduce?

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have read the CONTRIBUTING doc
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works.
  • I have added necessary documentation (if appropriate)

Further comments

This solution is based off of the investigation here: #63 (comment)

Fixes #63

…debug message

replaced the error inside makeEventPacket to a debug message as this was blocking broadcasts from
being sent when a socket connection was closed

adonisjs#63
fixed tests relating to the makeEventPacket change
@coveralls
Copy link

Coverage Status

Coverage remained the same at 93.703% when pulling 9629a0e on intergral:develop into 69b31f4 on adonisjs:develop.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inside event "close" cannot broadcast event.
2 participants