修复漏洞问题——限制注册时候不能修改手机号和openid
This commit is contained in:
@@ -60,9 +60,9 @@ public class ESJobSearchImpl implements IESJobSearchService
|
||||
// 锁的key(唯一标识ES索引初始化)
|
||||
private static final String ES_INIT_LOCK_KEY = "es:job_document:init:lock";
|
||||
// 锁过期时间(30分钟,确保初始化完成)
|
||||
private static final Integer LOCK_EXPIRE_SECONDS = 600;//1800
|
||||
private static final Integer LOCK_EXPIRE_SECONDS = 1800;
|
||||
// 等待锁时间(5分钟,避免无限等待)
|
||||
private static final Integer WAIT_LOCK_SECONDS = 1;//300
|
||||
private static final Integer WAIT_LOCK_SECONDS = 10;//300
|
||||
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user