-
Notifications
You must be signed in to change notification settings - Fork 461
docs: NetworkConfig.ClientConnectionBufferTimeout [skip ci] #1927
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
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -53,9 +53,18 @@ public class NetworkConfig | |||||
| public uint TickRate = 30; | ||||||
|
|
||||||
| /// <summary> | ||||||
| /// The amount of seconds to wait for handshake to complete before timing out a client | ||||||
| /// The amount of seconds for the server to wait for the connection approval handshake to complete before the client is disconnected. | ||||||
| /// | ||||||
| /// If the timeout is reached before approval is completed the client will be disconnected. | ||||||
| /// </summary> | ||||||
| [Tooltip("The amount of seconds to wait for the handshake to complete before the client times out")] | ||||||
| /// <remarks> | ||||||
| /// The period begins after the <see cref="NetworkEvent.Connect"/> is received on the server. | ||||||
| /// The period ends once the server finishes processing a <see cref="ConnectionRequestMessage"/> from the client. | ||||||
| /// | ||||||
| /// This setting is independent of any Transport-level timeouts that may be in effect. | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. In the new draft there are already 3-4 other references to the Transport timeout so I don't feel this explicit calculation one is necessary. It's also not necessarily accurate depending on Transport implementations.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about something like "a player's total connection timeout would be influenced by both transport side (if any) and network manager side timeouts". It'd just help give the big picture to users, right now we're showing this as if they were two tech in silos. |
||||||
| /// | ||||||
| /// This setting is server-side only.</remarks> | ||||||
| [Tooltip("The amount of seconds for the server to wait for the connection approval handshake to complete before the client is disconnected")] | ||||||
| public int ClientConnectionBufferTimeout = 10; | ||||||
|
|
||||||
| /// <summary> | ||||||
|
|
||||||
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.
For users that never worked on connected games, this could help.
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.
This isn't the appropriate type of comment to add to a Summary section. I'll add some similar flavor to Remarks