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
This commit is contained in:
Mark Paluch 2017-06-15 13:33:36 +02:00 committed by Stephane Nicoll
parent 69d2185618
commit 0a9646dbf4
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ public class RedisProperties {
/**
* Shutdown timeout in milliseconds.
*/
private int shutdownTimeout = 2000;
private int shutdownTimeout = 100;
/**
* Lettuce pool configuration.