Merge remote-tracking branch 'refs/remotes/origin/REQ-2324' into feature/merged_all_req
This commit is contained in:
commit
9d4a332472
@ -68,7 +68,7 @@ public class DistributedTimeBasedIdGenerator implements IdGenerator {
|
||||
+ "return dateStr .. idStr;\n";
|
||||
|
||||
@Override
|
||||
public synchronized String getNextId() {
|
||||
public String getNextId() {
|
||||
String now = DateUtil.format(DateUtil.date(), "yyyyMMddHHmm");
|
||||
|
||||
DefaultRedisScript<String> redisScript = new DefaultRedisScript<>();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user