FGRibreau / FGRibreau/node-amqp-tool

warning: possible EventEmitter memory leak detected.

Offen
#5 4 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
26
Forks
13
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When trying to connect to a remote RabbitMQ, no data is received and it shows 2 of these warnings. Any idea what's wrong?

```
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at Connection.EventEmitter.addListener (events.js:160:15)
at Connection.connect (/usr/lib/node_modules/amqp-tool/node_modules/amqp-dsl/node_modules/amqp/amqp.js:1068:8)
at Connection.reconnect (/usr/lib/node_modules/amqp-tool/node_modules/amqp-dsl/node_modules/amqp/amqp.js:1038:8)
at null._onTimeout (/usr/lib/node_modules/amqp-tool/node_modules/amqp-dsl/node_modules/amqp/amqp.js:876:16)
at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)
```

This is the command I'm using

```
amqp-tool --host blabla.bigwig.lshift.net --port 10035 --user foo --password password --queue celery --exchange celery --count 5000 --export dump.json
```
##

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/4400402-warning-possible-eventemitter-memory-leak-detected?utm_campaign=plugin&utm_content=tracker%2F2158434&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2158434&utm_medium=issues&utm_source=github).

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.