Load everything at once when local

3 views
Skip to first unread message

Captain Quality

unread,
Jun 10, 2010, 10:12:24 AM6/10/10
to BulkLoader users
Hello,

If I'm working on a project locally, and I don't have to daisy chain
loading items, what can I do to make this happen with minimal edits to
the code?

Thanks!

Arthur Debert

unread,
Jun 10, 2010, 11:07:10 AM6/10/10
to bulkload...@googlegroups.com
Hi Captain Quality.

I am not sure I understood your question. Well, the way to control max
simultaneous downloads is explained on the wiki [1].

Do you mean to ask how to use 'if' statements or so?
You just check if you are running locally. If so use x + y
connections, else use x. Right?

xx.isLocal ? numConnections = 20 : numConnections = 2;
bulkLoader.start(numConnections);

I am, though, skeptical this will provide any noticeable difference in
the local file system (I am not sure the browser will open many
descriptors at the same time, honestly).

Cheers

> --
> You received this message because you are subscribed to the Google Groups "BulkLoader users" group.
> To post to this group, send email to bulkload...@googlegroups.com.
> To unsubscribe from this group, send email to bulkloader-use...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/bulkloader-users?hl=en.
>
>

--
Arthur Debert
www.stimuli.com.br

Reply all
Reply to author
Forward
0 new messages