Commit 0a9646db authored by Mark Paluch's avatar Mark Paluch Committed by Stephane Nicoll

Reduce Lettuce shutdown timeout to 100ms

Reducing the default to 100ms is a good compromise to retain a quiet time
in for parallel execution and optimize for default, single-threaded
execution (such as test execution or regular application shutdown). The
shutdown timeout can be adjusted to fit specific application needs.

See gh-9526
parent 69d21856
...@@ -316,7 +316,7 @@ public class RedisProperties { ...@@ -316,7 +316,7 @@ public class RedisProperties {
/** /**
* Shutdown timeout in milliseconds. * Shutdown timeout in milliseconds.
*/ */
private int shutdownTimeout = 2000; private int shutdownTimeout = 100;
/** /**
* Lettuce pool configuration. * Lettuce pool configuration.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment