diff --git a/domain/cache/game_c/game.go b/domain/cache/game_c/game.go index a8f212fbeb6a0948f060db879bc2314d79e76142..3c800c008073d6be40cfa07ba32c5007fa8d2deb 100644 --- a/domain/cache/game_c/game.go +++ b/domain/cache/game_c/game.go @@ -31,7 +31,7 @@ func SetAutoMathEnterRoom(userId uint64, imGroupId, traceId, token, enterType, g if err != nil { return err } - redisCli.GetRedis().Expire(context.Background(), key, time.Second*3) + redisCli.GetRedis().Expire(context.Background(), key, time.Second*10) return nil }