This repository was archived by the owner on Feb 13, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 63
Exceptions while big load #26
Copy link
Copy link
Open
Description
When I use memcache library on big load (more than 20 req/sec) I am get the exception during getting data like depicted below
/home/shunanya/worksp_node/test/node_modules/memcache/lib/memcache.js:260
var type = this.callbacks[0].type;
^
TypeError: Cannot read property 'type' of undefined
at Client.determine_reply_handler (/home/shunanya/worksp_node/test/node_modules/memcache/lib/memcache.js:260:30)
at Client.handle_received_data (/home/shunanya/worksp_node/test/node_modules/memcache/lib/memcache.js:217:21)
at Socket.Client.connect.conn.addListener.self.conn (/home/shunanya/worksp_node/test/node_modules/memcache/lib/memcache.js:62:12)
at Socket.EventEmitter.emit (events.js:88:17)
at TCP.onread (net.js:403:14)
In my opinion, it doesn't have enough time to store the callback function in the array and this is the reason for exception.
I use currently the Node.js 0.8.8 and Memcached 1.4.14 under Ubuntu 11.10.
Hope, this issue can be fixed soon:)
Simon
Metadata
Metadata
Assignees
Labels
No labels