-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Remove some vestiges of the old solution crawler. #74239
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
Remove some vestiges of the old solution crawler. #74239
Conversation
| shutdownToken) | ||
| { | ||
| _event = new SemaphoreSlim(initialCount: 0); | ||
| _workQueue = new AsyncBatchingWorkQueue( |
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.
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, |
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.
don't love this. but it's the same as the listener we used before.
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.