Skip to content

Commit

Permalink
linting timers file
Browse files Browse the repository at this point in the history
  • Loading branch information
esatterwhite committed Dec 29, 2016
1 parent 0386397 commit ecf7c67
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/timer.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class Timer extends Map {
constructor(options = {}, ...args) {
super(...args);
this.options = Object.assign({}, {

nats: null
}, options);
this._sid = null;
this._bail = false;
Expand Down Expand Up @@ -198,7 +198,6 @@ class Timer extends Map {
watch( key, cb ){
if( this._bail ) return;
const opts = {queue: key};
console.log('queue group', key)
this._sid = this.nats.subscribe('skyring', opts, ( data ) => {
if( this._bail ) return;
const value = json.parse( data );
Expand Down

0 comments on commit ecf7c67

Please sign in to comment.