Skip to content

Conversation

@CyrusNajmabadi
Copy link
Member

@CyrusNajmabadi CyrusNajmabadi commented Jul 2, 2024

We had an overwrought system from solution-crawler to allow the host to tell the remote side "now's an ok time to do bg work". But we already have reasonable ways to do work in the BG in oop. So we can just use that instead.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner July 2, 2024 16:36
@ghost ghost added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 2, 2024
shutdownToken)
{
_event = new SemaphoreSlim(initialCount: 0);
_workQueue = new AsyncBatchingWorkQueue(
Copy link
Member Author

Choose a reason for hiding this comment

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

instead of all this complex logic to say "wait a couple of minutes to report remote telemetry", now we just report it every 2 minutes like before.

_workQueue = new AsyncBatchingWorkQueue(
TimeSpan.FromMinutes(2),
ProcessWorkAsync,
AsynchronousOperationListenerProvider.NullListener,
Copy link
Member Author

Choose a reason for hiding this comment

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

don't love this. but it's the same as the listener we used before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants