Skip to content

We now recommend 2s as a polling period for standard sessions#18625

Merged
4 commits merged intoAzure:mainfrom
matyrr-havok:MalcolmTyrrell/pollingIntervalImprovements
Nov 16, 2021
Merged

We now recommend 2s as a polling period for standard sessions#18625
4 commits merged intoAzure:mainfrom
matyrr-havok:MalcolmTyrrell/pollingIntervalImprovements

Conversation

@matyrr-havok
Copy link
Copy Markdown
Member

No description provided.

@ghost ghost added the Remote Rendering label Nov 10, 2021
@matyrr-havok
Copy link
Copy Markdown
Member Author

/azp run js - mixedreality-remoterendering - tests

@azure-pipelines
Copy link
Copy Markdown

No pipelines are associated with this pull request.

@matyrr-havok
Copy link
Copy Markdown
Member Author

/azp run js - mixed-reality-remote-rendering - tests

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@matyrr-havok
Copy link
Copy Markdown
Member Author

The unit tests do not test with premium sessions, so I tested manually.

this.intervalInMs = options.intervalInMs ? options.intervalInMs : 10000;
if (options.intervalInMs) {
this.intervalInMs = options.intervalInMs;
} else if (renderingSession.size === KnownRenderingServerSize.Standard) {
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.

nit: could we add a comment here why this is done? Something like "Standard session startup time is now in the range of x-y s. Because of this we want to poll more frequently in order to detect a ready session with less delay. "

@ghost
Copy link
Copy Markdown

ghost commented Nov 16, 2021

Hello @MalcolmTyrrell!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit bad96be into Azure:main Nov 16, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants