removing comment

This commit is contained in:
Christian Allred
2020-11-25 13:44:02 -07:00
parent 2abb426d99
commit e766276922

View File

@@ -89,16 +89,6 @@ export class ServerRMQ extends Server implements CustomTransportStrategy {
public createClient<T = any>(): T {
const socketOptions = this.getOptionsProp(this.options, 'socketOptions');
/**
* Expected footprint for amqp-connection-manager options
* https://github.com/jwalton/node-amqp-connection-manager
* {
* connectionOptions: any,
* heartbeatIntervalInSeconds: number,
* reconnectTimeInSeconds: number
* findServers: callback
* }
*/
const options = Object.assign({}, socketOptions)
socketOptions.connectionOptions = socketOptions
return rqmPackage.connect(this.urls, options);