Skip to content

Commit

Permalink
Preparation for publising alpha version
Browse files Browse the repository at this point in the history
  • Loading branch information
galkin committed Feb 9, 2017
1 parent bae7744 commit ac0b03b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.idea
.npmrc
.nyc_output
test
coverage
.editorconfig
Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ deploy:
provider: npm
email: [email protected]
api_key:
secure: lzF+SNlNL/cX097wwbboBH/oMLdYm5U3pmGyySLHuKtdnzvRuvWoFnFvR3s0V4UEkYrGijqCz5NvvhlbAFgSaQvgctxlhW5082ZcnWr8R+pYGOrooxcseZwXC3nwhBe6lT/mmjyW5VyhDrk7LG3nGzfGuv/BfiTxcCbHm9YrLB0=
secure: "fb+NfWLME/7WqcFUl71AHt0/f0z6frl40oJfUylXu37Ei+kfTN/uBuAndg2bNdEBoCDfgL21akQAum/nsKzMos60uaOTPg2gPpqvPdyeX3RA0NWf9I8tsNEV8/DJQBZEgVhNQfHdlWnALLBKfJvsHffnV5NOphP/o+RxfzVQQ5M="
on:
tags: true
repo: tcdl/msb
7 changes: 7 additions & 0 deletions lib/channelManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ channelManagerExports.create = function () {
channelManager.close = function () {
if (!adapter || !adapter.close) return;
adapter.close();

producersByTopic = {};
consumersByTopic = {};
consumerTopicsToCheck = [];
toCheckConsumers = false;
adapter = null;
adapterConfig = null;
};

channelManager.hasChannels = function () {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "msb",
"version": "2.0.0-RC0",
"version": "2.0.0-alpha",
"description": "A framework to simplify the implementation of an event-bus oriented microservices architecture",
"license": "MIT",
"main": "index.js",
Expand Down

0 comments on commit ac0b03b

Please sign in to comment.