Skip to content

Commit

Permalink
[main] Remove Edgio CDN usage to release/dev17.13 (#76702)
Browse files Browse the repository at this point in the history
Backport of #76438 to main

/cc @dibarbet @jordi1215

## Customer Impact

## Regression

- [ ] Yes
- [x] No

[If yes, specify when the regression was introduced. Provide the PR or
commit if known.]

## Testing

[How was the fix verified? How was the issue missed previously? What
tests were added?]

## Risk

[High/Medium/Low. Justify the indication by mentioning how risks were
measured and addressed.]
  • Loading branch information
dibarbet authored Jan 10, 2025
2 parents a27590e + c0eed91 commit 09fe5ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private async Task<TimeSpan> DownloadFullDatabaseAsync(FileInfo databaseFileInfo

private async Task<(bool succeeded, TimeSpan delay)> DownloadFullDatabaseWorkerAsync(FileInfo databaseFileInfo, CancellationToken cancellationToken)
{
// Will hit https://az700632.vo.msecnd.net/pub/RoslynNuGetSearch/Elfie_V1/Latest.xml. Providing this
// Will hit https://aka.ms/vssettings/pub/RoslynNuGetSearch/Elfie_V1/Latest.xml. Providing this
// link in the source to make it easy for maintainers to hit the endpoint to see if it succeeds and that
// the data and http headers are what are expected.
var serverPath = Invariant($"Elfie_V{AddReferenceDatabaseTextFileFormatVersion}/Latest.xml");
Expand Down Expand Up @@ -412,7 +412,7 @@ private async Task<TimeSpan> PatchLocalDatabaseAsync(FileInfo databaseFileInfo,

// Now attempt to download and apply patch file.
//
// Will hit https://az700632.vo.msecnd.net/pub/RoslynNuGetSearch/Elfie_V1/{db_version}_Patch.xml.
// Will hit https://aka.ms/vssettings/pub/RoslynNuGetSearch/Elfie_V1/{db_version}_Patch.xml.
// Providing this link in the source to make it easy for maintainers to hit the endpoint to see if it
// succeeds and that the data and http headers are what are expected.
var serverPath = Invariant($"Elfie_V{AddReferenceDatabaseTextFileFormatVersion}/{database.DatabaseVersion}_Patch.xml");
Expand Down
2 changes: 1 addition & 1 deletion src/VisualStudio/Core/Def/Storage/FileDownloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public IFileDownloader CreateClient(string hostId, string serverPath, int pollin
{
// BaseUrl provided by the VS RemoteControl client team. This is URL we are supposed
// to use to publish and access data from.
const string BaseUrl = "https://az700632.vo.msecnd.net/pub";
const string BaseUrl = "https://aka.ms/vssettings/pub";

return new FileDownloader(new RemoteControlClient(hostId, BaseUrl, serverPath, pollingMinutes));
}
Expand Down

0 comments on commit 09fe5ab

Please # to comment.