Open coleFD opened 1 year ago
@coleFD Since #405 got merged, how do we proceed with this one?
@coleFD Since #405 got merged, how do we proceed with this one?
We need to move the constant defined in the downstream/mod.rs
file to the proxy-config.toml
. It is low priority since it's just meant to allow the value to be defined by the dev
Related to
SHUTDOWN_TIMEOUT_SECS
in #405. If #405 gets merged before integrating the config value, make sure removeSHUTDOWN_TIMEOUT_SECS
and integrate the timeout logic used in the downstream.For certain scenarios when a downstream client connects to the TProxy and they are not initialize to receive jobs, no other messages are sent on the connection, and therefore, the TProxy will never know when to terminate the connection. For this issue, we need to add a
downstream_timeout
config to theproxy-config.toml