Skip to content

Commit 389e600

Browse files
committed
remove redundant projection, remove debug line
1 parent 548b359 commit 389e600

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

OpenFlow/src/DatabaseConnection.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,9 +367,6 @@ export class DatabaseConnection {
367367
_pipe = _pipe.project(projection);
368368
}
369369
_pipe = _pipe.sort(mysort as any).limit(top).skip(skip);
370-
if (projection != null) {
371-
_pipe = _pipe.project(projection);
372-
}
373370
if (hint) {
374371
_pipe = _pipe.hint(myhint);
375372
}

OpenFlow/src/WebSocketServerClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ export class WebSocketServerClient {
234234
});
235235
qname = queue.queue;
236236
this._queues.push(queue);
237-
console.log('_queues.length: ' + this._queues.length);
237+
// console.log('_queues.length: ' + this._queues.length);
238238
} catch (error) {
239239
this._logger.error("WebSocketclient::CreateConsumer " + error);
240240
}

0 commit comments

Comments
 (0)