Skip to content

Commit 8a1b323

Browse files
committed
debug
1 parent 7832994 commit 8a1b323

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

OpenFlow/src/WebSocketClient.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,11 @@ export class WebSocketClient {
200200
}
201201
this._sendQueue = this._sendQueue.filter(function (msg: SocketMessage): boolean { return msg.id !== id; });
202202
});
203+
if (this._receiveQueue.length > 1 || this._sendQueue.length > 1) {
204+
if (this.user !== null && this.user !== undefined) {
205+
this._logger.debug("[" + this.user.username + "] WebSocketclient::ProcessQueue receiveQueue: " + this._receiveQueue.length + " sendQueue: " + this._sendQueue.length);
206+
}
207+
}
203208
}
204209
public async Send<T>(message: Message): Promise<T> {
205210
return new Promise<T>(async (resolve, reject) => {

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.285
1+
0.0.286

0 commit comments

Comments
 (0)