Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconnection does not stop #23

Open
safer-bwd opened this issue Mar 4, 2022 · 0 comments
Open

Reconnection does not stop #23

safer-bwd opened this issue Mar 4, 2022 · 0 comments

Comments

@safer-bwd
Copy link

If the amqp server is unavailable, the reconnect timer does not stop when the broker stops:

const { ServiceBroker } = require('moleculer');
const AMQPMixin = require('moleculer-amqp');

const broker = new ServiceBroker({ logger: true });

broker.createService({
    mixins: [
        AMQPMixin('amqp://localhost')
    ]
});

(async () => {
    await broker.start();
    await broker.stop();
})();
@safer-bwd safer-bwd changed the title Bug: Reconnection does not stop if the broker is stopped Bug: Reconnection does not stop Mar 4, 2022
@safer-bwd safer-bwd changed the title Bug: Reconnection does not stop [Bug] Reconnection does not stop Mar 30, 2022
@safer-bwd safer-bwd changed the title [Bug] Reconnection does not stop Reconnection does not stop Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant