Browse Source

负载同步

zhengtao 7 months ago
parent
commit
0207bd5313
1 changed files with 1 additions and 1 deletions
  1. 1 1
      game/game_cluster/nodes/db/module/actor_save_db.go

+ 1 - 1
game/game_cluster/nodes/db/module/actor_save_db.go

@@ -27,7 +27,7 @@ func (p *ActorSaves) AliasID() string {
 }
 
 func (p *ActorSaves) OnInit() {
-	p.Timer().Add(60*time.Second, p.saveAccountDB1)
+	p.Timer().Add(50*time.Second, p.saveAccountDB1)
 	p.Timer().Add(60*time.Second, p.savePlayerDB1)
 }