|
|
@@ -54,6 +54,7 @@ public class ImRoomOperator {
|
|
|
private synchronized void initMaxSort(){
|
|
|
if(this.atomicLong==null){
|
|
|
this.atomicLong = redissonClient.getAtomicLong("im:incr." + id);
|
|
|
+ atomicLong.expire(Duration.of(40,ChronoUnit.DAYS));
|
|
|
atomicLong.getAsync()
|
|
|
.thenAcceptAsync(count->{
|
|
|
if(count==null){
|