Skip to content

Commit

Permalink
feature: 修改lettuce默认使用异步进行操作redis
Browse files Browse the repository at this point in the history
  • Loading branch information
TsukasaHwan committed Apr 16, 2023
1 parent 3a60c75 commit 05ea698
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public class LettuceRedisClusterManager implements IRedisManager {
/**
* Whether to enable async.
*/
private boolean isAsync = false;
private boolean isAsync = true;

/**
* The number of elements returned at every iteration.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public abstract class AbstractLettuceRedisManager implements IRedisManager {
/**
* Whether to enable async.
*/
private boolean isAsync = false;
private boolean isAsync = true;

/**
* The number of elements returned at every iteration.
Expand Down

0 comments on commit 05ea698

Please sign in to comment.