|
@@ -198,7 +198,7 @@ func (e *EncryptionStruct) Flush() {
|
|
|
err := json.Unmarshal([]byte(redis_obj), &encryconf)
|
|
|
if e.RsaStruct_Now.Sign == encryconf.Now {
|
|
|
log.Println("从节点定时更新EncryptionStruct失败,一分钟后重试", e.RsaStruct_Now.Sign)
|
|
|
- time.Sleep(time.Minute * 10)
|
|
|
+ time.Sleep(time.Minute)
|
|
|
if redis.GetInt("other", "jynode_"+nodemgr.NodeName) == 1 {
|
|
|
break
|
|
|
} else {
|