There is no max-time-to-live for a connection,
only akka.http.host-connection-pool.idle-timeout but that requires there to
be no requests going through the connection for a timeout before it is
terminated.

I'd expect that when you deploy the new version, the old version get
undeployed and those connections are killed by the server so that new
requests through the pool triggers new requests which should then end up in
the new service?

--
Johan
Akka Team

On Tue, May 30, 2017 at 9:21 PM, Jorge Fuentes <jfuentes...@gmail.com>
wrote:

>
> Hi here,
>
> I have a service running on production, which calls a dependency service
> using :
>
> Http().newHostConnectionPoolHttps[Promise[HttpResponse]]
>
> Each time a new stack of the dependency service is deployed it use same
> domain, my service DNS cache is updated but problem is connections inside
> the pool lives on forever and only resolves DNS once at initiation time.
> Thus it keeps calling the old dependency stack.
>
> I am searching for away to set max connection's time to live or some way
> to recreate the connections
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ: http://doc.akka.io/docs/akka/
> current/additional/faq.html
> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
> ---
> You received this message because you are subscribed to the Google Groups
> "Akka User List" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at https://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to