elbart / node-memcache

node.js memcached client
285 stars 64 forks source link

No mention of connect() in README #13

Closed dcelasun closed 12 years ago

dcelasun commented 12 years ago

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.

elbart commented 12 years ago

thanks for the hint... I adjusted that

dcelasun commented 12 years ago

Wow, that was fast. Thanks!

elbart commented 12 years ago

thanks to the online editor :)