In my original code i had a callback, missed it in this sample codebase.
That said the issue was not with the callback at least in my case. Its
because of the maxSockets of http node library. I'm using node 0.10 and as
part of the spec its mentioned that max of 5 socket connections can be
connection pooled. i bumped up this number to 100 and i can see faster
response times.
But one question still remains, when i bump up this number to something
extremely higher like 999999, it fallsback to the default behaviour and the
response time increases. I guess it could be my hardware limit also.
Nevertheless i'll look into the http codebase to understand this behaviour
in specific.
On Saturday, April 11, 2015 at 12:50:35 AM UTC+5:30, Marcos Mendez wrote:
>
> I think so to..
>
> function(item, callback) {
> callExternalUrl();
> },
>
> callback never gets called.
>
> On Tuesday, April 7, 2015 at 11:43:36 PM UTC-4, kodamatic wrote:
>>
>> Missing call callback?
>>
>
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/nodejs/ae2f1d67-ef04-40f6-a788-9f583f06ad6b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.