Merge bounded Odin discovery snapshots
This commit is contained in:
parent
e7d4f86479
commit
26dd4f2bd4
1 changed files with 5 additions and 1 deletions
|
|
@ -283,9 +283,13 @@ function createHermodrBridge(options) {
|
|||
}
|
||||
|
||||
async function readCatalog(options) {
|
||||
const providerSnapshots = [];
|
||||
for (let attempt = 0; attempt < 3; attempt += 1) {
|
||||
providerSnapshots.push(...await readOdinProviderAdvertisements(options));
|
||||
}
|
||||
const providerAdvertisements = mergeProviderAdvertisements([
|
||||
...await readOdinSurfaceProviderCatalog(options),
|
||||
...await readOdinProviderAdvertisements(options),
|
||||
...providerSnapshots,
|
||||
]);
|
||||
return createBrowserCatalog(providerAdvertisements, options);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue