-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Closed
Description
I create a little application using nodejs - socket.io - thrift and
couchdb
The main idea is: Receive data from a C++ client using Thrift [1] and
send this data to the webpage using socket.io.
The C++ client put data into couchdb and nodejs+couchdb notify the
change of the data in db into the webpage.
I test this with Chrome and works very good. Now i test using Android
browser on my Galaxy S and in a X-mini pro (Froyo and Eclair) .. and
when this clients connects this message appear:
7 Jun 16:49:52 - Initializing client with transport "xhr-polling"
7 Jun 16:49:52 - Client 7502372420858592 connected
(node) warning: possible EventEmitter memory leak detected. 11
listeners added. Use emitter.setMaxListeners() to increase limit.
Trace:
at Client.<anonymous> (events.js:126:17)
at [object Object]._queueRequest (/Users/msdark/Development/
Trabajo/Stream/service/gen-nodejs/lib/node-couchdb/lib/couchdb.js: 157:16)
at [object Object].request (/Users/msdark/Development/Trabajo/
Stream/service/gen-nodejs/lib/node-couchdb/lib/couchdb.js:270:15)
at [object Object].request (/Users/msdark/Development/Trabajo/
Stream/service/gen-nodejs/lib/node-couchdb/lib/couchdb.js:342:24)
at [object Object].getDoc (/Users/msdark/Development/Trabajo/
Stream/service/gen-nodejs/lib/node-couchdb/lib/couchdb.js:379:15)
at /Users/msdark/Development/Trabajo/Stream/service/gen-nodejs/server.js:56:24
at IncomingMessage.<anonymous> (/Users/msdark/Development/Trabajo/
Stream/service/gen-nodejs/lib/node-couchdb/lib/couchdb.js:194:26)
at IncomingMessage.emit (events.js:81:20)
at HTTPParser.onMessageComplete (http.js:133:23)
at Client.onData [as ondata] (http.js:1484:27)
The application still working but, with some lag and some error
message in the C++ side (the thrift client)..
How can i bypass this problem??
Thanks in advance.
[1] Thrift: http://thrift.apache.org/
Metadata
Metadata
Assignees
Labels
No labels