ClientConnectionPool.MaxConnections

Home Forums kbmMW ClientConnectionPool.MaxConnections

Viewing 2 reply threads
  • Author
    Posts
    • #56153
      Babis Michael
      Participant

      Hello,

      Setting anything above 1 on ClientConnectionPool.MaxConnections it will raise EIdAlreadyConnected.
      Tried both with Autoactivate on and off.
      Any ideas ?

      Thanks

    • #56162
      kimbomadsen
      Keymaster

      Hi,

      No… I can’t say I have…. are you using standard request/response transports or WIB?

      /Kim

      • #56163
        Babis Michael
        Participant

        I’m using Indy TCP Messaging with kbmMWClientQueries.
        I had to increase it because i was getting: PooledDataset : ObtainConnection : Timeout/error waiting for connection.
        Before 5.06.20 July 11 2018 which included that “AutoActivate” on TkbmMWCustomConnectionPool it worked.

        Thank you

    • #56164
      kimbomadsen
      Keymaster

      It does not make sense to increase it when using messaging transports. In that case it should always be left at default or 1.
      The reason is that messaging transports will handle multiple ongoing requests at the same time.
      So I think something else must be going on.
      /Kim

      • #56165
        Babis Michael
        Participant

        From my side or kbmMW ?

        • #56172
          kimbomadsen
          Keymaster

          Something else must be going on in the code that makes you try to increase MaxConnections.
          Messaging transports only opens one connection due to it being async, and thus not blocking during a request/resppnse, allowing multiple threads to do multiple requests at the same time over the same single connection.
          /Kim

Viewing 2 reply threads
  • You must be logged in to reply to this topic.