tdebarochez/connect-couchdb — Issue #12: lib/couch.js:4 leaks ["Couch"]
Author: sreuter
Created: 2011-12-18 13:59:53+00:00
State: open

Changing ...

```javascript
Couch = module.exports = function(config) {
```

... to ...

```javascript
var Couch = module.exports = function(config) {
```

... should do the trick. At least, it doesn't leak anymore and still seems to work as expected...

By the way.. Does anyone use this module at a larger scale? Let's say ~2000 active/concurrent user sessions?