refactoring

pull/5564/head
Nikita Koksharov 1 year ago
parent 7b6abe1b47
commit ed433091e9

@ -67,7 +67,7 @@ public class BaseRedisBatchExecutor<V, R> extends RedisExecutor<V, R> {
result = (int) options.getResponseTimeout();
}
if (options.getSyncSlaves() > 0) {
result += options.getSyncTimeout();
result += (int) options.getSyncTimeout();
}
return result;
}

Loading…
Cancel
Save