future) throws Exception {
+ executed.set(true);
if (!future.isSuccess()) {
promise.tryFailure(future.cause());
commands = null;
diff --git a/redisson/src/main/java/org/redisson/config/Config.java b/redisson/src/main/java/org/redisson/config/Config.java
index af8e505b0..cdf70bd70 100644
--- a/redisson/src/main/java/org/redisson/config/Config.java
+++ b/redisson/src/main/java/org/redisson/config/Config.java
@@ -111,8 +111,7 @@ public class Config {
if (oldConf.getCodec() == null) {
// use it by default
- oldConf.setCodec(new JsonJacksonCodec());
-// oldConf.setCodec(new FstCodec());
+ oldConf.setCodec(new FstCodec());
}
setUseScriptCache(oldConf.isUseScriptCache());
@@ -583,6 +582,8 @@ public class Config {
*
* This prevents against infinity locked locks due to Redisson client crush or
* any other reason when lock can't be released in proper way.
+ *
+ * Default is 30000 milliseconds
*
* @param lockWatchdogTimeout timeout in milliseconds
* @return config