Closed
Description
In DefaultLettuceClientConfiguration
, the shutdownQuietPeriod is set as follows
this.shutdownQuietPeriod = shutdownQuietPeriod != null ? shutdownQuietPeriod : shutdownTimeout;
This effectively makes it so that clients who do not set this parameter in their LettuceClientConfiguration
builder are forced to wait for the entire shutdownTimeout period before shutting down.
Proposed Solution
Modify the default value of shutdownQuietPeriod to be 0 or a fraction of the shutdownTimeout (e.g., 10% of shutdownTimeout). This change will ensure that the shutdown process is initiated promptly without waiting for the entire shutdownTimeout period.