-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
152 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/** | ||
* Internal schema used to audit the application. | ||
*/ | ||
export default { | ||
/** | ||
* Number of connected clients by role. | ||
* | ||
* @example | ||
* { | ||
* player: 12, | ||
* controller: 1, | ||
* } | ||
*/ | ||
numClients: { | ||
type: 'any', | ||
default: {}, | ||
}, | ||
|
||
/** | ||
* Average latency in seconds computed from ping/pong informations. | ||
*/ | ||
averageNetworkLatency: { | ||
type: 'float', | ||
default: 0, | ||
}, | ||
|
||
/** | ||
* Time window in second used to compute the average latency. Defaults to 5 | ||
*/ | ||
averageNetworkLatencyWindow: { | ||
type: 'float', | ||
default: 5, | ||
}, | ||
|
||
/** | ||
* Period in second at which the average latency is computed. Defaults to 2 | ||
*/ | ||
averageNetworkLatencyPeriod: { | ||
type: 'float', | ||
default: 2, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.