elbart/node-memcache

No mention of connect() in README

Closed this issue · 3 comments

I had something like this in my code:

var memcache = require('node-memcache').Client,
       cache = new memcache();

cache.host = '192.168.1.1';
cache.port = 8080;

The README suggests I should now be able to call

cache.get()

which is not true. I had to do

cache.connect()

before I could access any objects. You should probably mention this somewhere in README.

thanks for the hint... I adjusted that

Wow, that was fast. Thanks!

thanks to the online editor :)