Skip to content

Default shutdownQuietPeriod should be 0 or some fraction of the shutdownTimeout #2945

Closed
@seabamirum

Description

@seabamirum

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions