This project has moved. For the latest updates, please go here.

limit the number of sftp connection per server

Apr 20 at 8:44 AM
Hi,

reading the documentation, you have to add 2 sections :
1°) Below node <configuration>
<configSections>
<section name="Blogical.Shared.Adapters.Sftp" type="Blogical.Shared.Adapters.Common.XmlSerializerSectionHandler, Blogical.Shared.Adapters.Common, Version=1.0.2.0, Culture=neutral, PublicKeyToken=d2417434632efeea" />
</configSections>

2°) Where do you put this in the xml ?

<Blogical.Shared.Adapters.Sftp>
<SftpConnectionPool defaultConnectionLimit="60">
    <Host hostName="10.102.114.224" connectionLimit="5"/>
    <Host hostName="SomeHostName" connectionLimit="5"/>
</SftpConnectionPool>
</Blogical.Shared.Adapters.Sftp>

Cheers
Stephane