Skip to content

Upgrade ws to support maxPayload#32

Merged
jondubois merged 1 commit into
SocketCluster:masterfrom
zalmoxisus:master
Dec 11, 2018
Merged

Upgrade ws to support maxPayload#32
jondubois merged 1 commit into
SocketCluster:masterfrom
zalmoxisus:master

Conversation

@zalmoxisus

@zalmoxisus zalmoxisus commented Dec 5, 2018

Copy link
Copy Markdown
Contributor

I see there's maxPayload introduced in socketcluster here, but it's not supported by sc-uws. In ws the support was added from 6.0.

I have an issue where some clients are sending payloads which exceed RAM limit of heroku dyno and it's crashing the instance. This option looks like a solution without adding nginx.

EDIT: Merging this is not a top priority as we can just copy ws locally and specify the path in wsEngine option. I checked it doesn't look to break anything, but still might be kept for a major release.

@jondubois

Copy link
Copy Markdown
Member

@zalmoxisus I published this to npm socketcluster-server@14.4.0.

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