limitation in number of concurrent operations

Nov 20, 2007 at 2:37 PM
hello,
While trying to add many upload or download operations I can see that it accepts to work on about ten operations at a time.
the other operations are not added to the work item list and time out after a moment.
Is there a limitation somewhere enforcing that limit ?
Anything special to do to enqueu many items?

Thank you for your help,
John.
Coordinator
Nov 28, 2007 at 1:26 AM


knipjo wrote:
hello,
While trying to add many upload or download operations I can see that it accepts to work on about ten operations at a time.
the other operations are not added to the work item list and time out after a moment.
Is there a limitation somewhere enforcing that limit ?
Anything special to do to enqueu many items?

Thank you for your help,
John.


Hi John,
In the constructor for the ThreeSharpQuery class, there is a line that sets the DefaultConnectionLimit on the ServicePointManager. This is a static limit that gets checked against by the .NET framework when you try to create an HttpWebRequest. The default value here is 2. For release 1.0, I overrode it to 10. However, for release 1.1, I have now added a field to the ThreeSharpConfig class, so you can set the ConnectionLimit in your own code, and not have to touch ThreeSharpQuery.

Thanks,
Joel Wetzel
Affirma Consulting