Skip to content

Add unity accelerator parameters - #235

Merged
Derek (derekfreed) merged 2 commits into
microsoft:developfrom
santanor:develop
Jun 10, 2022
Merged

Add unity accelerator parameters#235
Derek (derekfreed) merged 2 commits into
microsoft:developfrom
santanor:develop

Conversation

@santanor

@santanor Jose Antonio (santanor) commented Jun 9, 2022

Copy link
Copy Markdown

The unity cmd tools allow configure the Unity Accelerator as specified here

I'm just exposing those parameters and passing them down to Unity's cmd.

There are 2 flags, CacheServerDisableUpload and CacheServerDisableDownload that can be specified if we want to disable specific behaviours. So the default would be true, to reduce clutter.

@ghost

Deleted user (ghost) commented Jun 9, 2022

Copy link
Copy Markdown

CLA assistant check
All CLA requirements met.

Comment on lines +1765 to +1772
[parameter(Mandatory = $false)]
[string]$CacheServerEndpoint,
[parameter(Mandatory = $false)]
[string]$CacheServerNamespacePrefix,
[parameter(Mandatory = $false)]
[switch]$CacheServerDisableDownload,
[parameter(Mandatory = $false)]
[switch]$CacheServerDisableUpload

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a description of these parameters in the function header comment? perhaps even example?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An example in the readme would be great!

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the suggestions, I agree it's much clearer now with the examples.

@derekfreed
Derek (derekfreed) merged commit 1845a9f into microsoft:develop Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants