How to change the timeout threshold for PlayerSession?

0

Hi. As the title said, is there any method for changing the threshold of PlayerSession Timeout?

Currently, it seems that the value is fixed to 60 seconds and it is too short for my project.

Official documentation said: TIMEDOUT -- A player session request was received, but the player did not connect and/or was not validated within the timeout limit (60 seconds).

Any ideas are welcome. Thanks.

已提問 5 年前檢視次數 230 次
5 個答案
0

I believe this is a fixed value of 60s.

" If no response is received within 60 seconds of the client app's original CreatePlayerSession() call, changes the PlayerSession status to TIMEDOUT and reopens the player slot in the game session."

https://docs.aws.amazon.com/gamelift/latest/developerguide/gamelift-sdk-interactions.html

Can you describe your use case where you need more than a minute between CreatePlayerSessiom and AcceptPlayerSession?

已回答 5 年前
0

Hi. In my case, I used FlexMatch and Unity engine and test on both Editor and actual devices. But the editor has something additional overhead (for debugging, profiling and so on) and sometimes it takes more than 1 minutes. Also the communication time between my servers (lobby, game, session) and client add additional delay time. So 1 minutes is quite close to the limit and just increase to 3 min is sufficient to me.

已回答 5 年前
0

Hi. I have a similar problem with the 60 seconds threshold.

Our game starts the match with a lot of players 25-50 and the server can't process all incoming connections in 60 seconds. Is it possible to increase the timeout threshold? How should we proceed with that many player connections? We are using unreal engine.

已回答 3 年前
0

Let me ping the GameLift service team on this to see if theres been an update

Public documentation still shows a fixed value: https://docs.aws.amazon.com/cli/latest/reference/gamelift/create-player-session.html

已回答 3 年前
0

Currently the threshold is fixed to 60 seconds but we have opened a feature request for making it adjustable.

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南