fix(websockets): remove subscribe logs

This commit is contained in:
Kamil Myśliwiec
2021-11-18 09:59:49 +01:00
parent a2a48d1c10
commit c36a3bf173
3 changed files with 1 additions and 8210 deletions

View File

@@ -152,14 +152,6 @@ export class WebSocketsController {
adapter.bindMessageHandlers(client, handlers, data => adapter.bindMessageHandlers(client, handlers, data =>
fromPromise(this.pickResult(data)).pipe(mergeAll()), fromPromise(this.pickResult(data)).pipe(mergeAll()),
); );
subscribersMap.forEach(({ callback, message }) => {
this.logger.log(
`Subscribe ${(instance as Object).constructor.name}.${
callback.name
} method to ${message} message.`,
);
});
} }
public async pickResult( public async pickResult(

View File

@@ -1,6 +1,6 @@
<html> <html>
<head> <head>
<script src="socket.io.js"></script> <script src="https://cdn.socket.io/4.3.2/socket.io.min.js" integrity="sha384-KAZ4DtjNhLChOB/hxXuKqhMLYvx3b5MlT55xPEiNmREKRzeEm+RVPlTnAn0ajQNs" crossorigin="anonymous"></script>
<script> <script>
const socket = io('http://localhost:3000'); const socket = io('http://localhost:3000');
socket.on('connect', function() { socket.on('connect', function() {

File diff suppressed because it is too large Load Diff