Skip to content

Commit 72d3011

Browse files
committed
v11.3.0
1 parent 930f514 commit 72d3011

File tree

7 files changed

+39
-23
lines changed

7 files changed

+39
-23
lines changed

kubernetes/socketcluster-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
spec:
1212
containers:
1313
- name: socketcluster
14-
image: socketcluster/socketcluster:v11.1.0
14+
image: socketcluster/socketcluster:v11.3.0
1515
ports:
1616
- containerPort: 8000
1717
env:

package-lock.json

Lines changed: 30 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "socketcluster",
33
"description": "SocketCluster - A Highly parallelized WebSocket server cluster to make the most of multi-core machines/instances.",
4-
"version": "11.2.0",
4+
"version": "11.3.0",
55
"homepage": "http://socketcluster.io",
66
"contributors": [
77
{

sample/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:8-slim
22

33
LABEL maintainer="Jonathan Gros-Dubois"
4-
LABEL version="11.1.0"
4+
LABEL version="11.3.0"
55
LABEL description="Docker file for SocketCluster with support for clustering."
66

77
RUN mkdir -p /usr/src/

sample/broker.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ class Broker extends SCBroker {
1515
scClusterBrokerClient.attach(this, {
1616
stateServerHost: this.options.clusterStateServerHost,
1717
stateServerPort: this.options.clusterStateServerPort,
18+
mappingEngine: this.options.clusterMappingEngine,
19+
clientPoolSize: this.options.clusterClientPoolSize,
1820
authKey: this.options.clusterAuthKey,
1921
stateServerConnectTimeout: this.options.clusterStateServerConnectTimeout,
2022
stateServerAckTimeout: this.options.clusterStateServerAckTimeout,

sample/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
"sc-errors": "^1.4.0",
1717
"sc-framework-health-check": "^2.0.0",
1818
"sc-hot-reboot": "^1.0.0",
19-
"scc-broker-client": "^3.0.0",
19+
"scc-broker-client": "^5.0.1",
2020
"serve-static": "1.11.2",
21-
"socketcluster": "^11.2.0",
21+
"socketcluster": "^11.3.0",
2222
"socketcluster-client": "^11.0.1"
2323
},
2424
"keywords": [

sample/server.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ var options = {
3434
socketChannelLimit: Number(process.env.SOCKETCLUSTER_SOCKET_CHANNEL_LIMIT) || 1000,
3535
clusterStateServerHost: argv.cssh || process.env.SCC_STATE_SERVER_HOST || null,
3636
clusterStateServerPort: process.env.SCC_STATE_SERVER_PORT || null,
37+
clusterMappingEngine: process.env.SCC_MAPPING_ENGINE || null,
38+
clusterClientPoolSize: process.env.SCC_CLIENT_POOL_SIZE || null,
3739
clusterAuthKey: process.env.SCC_AUTH_KEY || null,
3840
clusterInstanceIp: process.env.SCC_INSTANCE_IP || null,
3941
clusterInstanceIpFamily: process.env.SCC_INSTANCE_IP_FAMILY || null,

0 commit comments

Comments
 (0)