-
Notifications
You must be signed in to change notification settings - Fork 817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of Unity SDK.Connect() #1181
Implementation of Unity SDK.Connect() #1181
Conversation
Build Succeeded 👏 Build Id: a0986ca9-153e-4fbd-9072-0117a4890db5 The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
/assign @pooneh-m |
sdks/unity/AgonesSdk.cs
Outdated
for (var i = 0; i < 30; i++) | ||
{ | ||
Log($"Attempting to connect...{i + 1}"); | ||
var gameServer = await GameServer(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
try-catch for when GameServer throws exception to retry on the exception as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooh good idea. I assume I can catch the generic Exception to catch everything?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done!
Useful async function to await when the sidecar sdk server comes up, so as to not need to retry other SDK functionality. Part of googleforgames#927
ba75f92
to
e4ee495
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: markmandel, pooneh-m The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Build Failed 😱 Build Id: 1a06170c-72be-469e-800c-efd85b3b3616 To get permission to view the Cloud Build view, join the agones-discuss Google Group. |
New changes are detected. LGTM label has been removed. |
Build Succeeded 👏 Build Id: c17632b7-5569-4e5f-9624-780d5036e5cf The following development artifacts have been built, and will exist for the next 30 days:
A preview of the website (the last 30 builds are retained): To install this version:
|
Useful async function to await when the sidecar sdk server comes up, so as to not need to retry other SDK functionality. Part of googleforgames#927
Useful async function to await when the sidecar sdk server comes up, so as to not need to retry other SDK functionality.
Part of #927