Skip to content

Commit

Permalink
rename SeataGlobalLock.lockRetryInternal to lockRetryInterval
Browse files Browse the repository at this point in the history
  • Loading branch information
yangfuhai committed Jun 12, 2022
1 parent 42d67d7 commit 83d8e01
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 @@ -35,7 +35,7 @@
@Inherited
public @interface SeataGlobalLock {

int lockRetryInternal() default 0;
int lockRetryInterval() default 0;

int lockRetryTimes() default -1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public Object execute() throws Throwable {
@Override
public GlobalLockConfig getGlobalLockConfig() {
GlobalLockConfig config = new GlobalLockConfig();
config.setLockRetryInterval(globalLockAnno.lockRetryInternal());
config.setLockRetryInterval(globalLockAnno.lockRetryInterval());
config.setLockRetryTimes(globalLockAnno.lockRetryTimes());
return config;
}
Expand Down

0 comments on commit 83d8e01

Please sign in to comment.