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

17 persistent messages #19

Merged
merged 14 commits into from
Oct 7, 2015
Merged

17 persistent messages #19

merged 14 commits into from
Oct 7, 2015

Conversation

cflynn07
Copy link
Contributor

@cflynn07 cflynn07 commented Oct 7, 2015

@@ -26,7 +25,8 @@ var hermes = require('runnable-hermes').hermesSingletonFactory({
port: '5672',
username: 'guest',
password: 'guest',
hearbeat: 10, // default 0 (no timeout)
hearbeat: 10, // default 0 (no timeout),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hearbeat - I didn't know it heard beats

@@ -367,4 +357,4 @@ Hermes.prototype._subscribeCallback = function (cb) {
}
});
};
}
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this semicolon may be unnecessary?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

linter required it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh - yup. weird. wonder how that passed before haha

'. Opts must include: '+
requiredOpts.join(', '));
}
if (!exists(opts.persistent)) { opts.persistent = true; }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use 101/defaults here. But I guess your one-liner is shorter

cflynn07 added a commit that referenced this pull request Oct 7, 2015
@cflynn07 cflynn07 merged commit a74a218 into master Oct 7, 2015
@cflynn07 cflynn07 deleted the 17-persistent-messages branch October 7, 2015 20:15
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

Successfully merging this pull request may close these issues.

3 participants