give braid a dedicated docker repo
This commit is contained in:
parent
f8676246da
commit
b2352af6a1
6
build
6
build
@ -1,8 +1,8 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
SHA=$(git rev-parse --short=7 HEAD)
|
SHA=$(git rev-parse --short=7 HEAD)
|
||||||
docker build -t yardstick/micro-services:braid-$SHA .
|
docker build -t yardstick/braid-$SHA .
|
||||||
docker push yardstick/micro-services:braid-$SHA
|
docker push yardstick/braid-$SHA
|
||||||
|
|
||||||
echo "Your new docker tag: yardstick/micro-services:braid-$SHA"
|
echo "Your new docker tag: yardstick/braid-$SHA"
|
||||||
|
|
||||||
|
@ -38,6 +38,17 @@ class ClientBase {
|
|||||||
channel.broadcastMessage(this, message);
|
channel.broadcastMessage(this, message);
|
||||||
logger.accessLog.info(`broadcast complete on channel ${channel.id}: `, {message: message});
|
logger.accessLog.info(`broadcast complete on channel ${channel.id}: `, {message: message});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
this.ws.on('close', (reasonCode: string, description: string) => {
|
||||||
|
logger.accessLog.info(`closing connection for client ${this.id}`);
|
||||||
|
|
||||||
|
if (this.channel) {
|
||||||
|
this.channel.removeClient(this.id);
|
||||||
|
}
|
||||||
|
|
||||||
|
// server.clientManager.removeClient(this.id);
|
||||||
|
logger.accessLog.info(`closed connection for client ${this.id}`);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
replaceWebSocket(ws: WebSocket) {
|
replaceWebSocket(ws: WebSocket) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user