8000 opts tidy is a bug? · Issue #51 · tj/node-ratelimiter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
opts tidy is a bug? #51
Closed
Closed
@ChunMengLu

Description

@ChunMengLu

var tidy = this.key;

function Limiter(opts) {
  this.id = opts.id;
  this.db = opts.db;
  this.tidy = opts.tidy || false;
  // ... ...
}

emmm,but tidy = this.key !

Limiter.prototype.get = function (fn) {
  var db = this.db;
  var tidy = this.key;
  var duration = this.duration;
  // ... ...
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0