Merge pull request #107 from DeepDoge/patch-2

Changed QUERY_CHUNK_SIZE
This commit is contained in:
kodxana 2022-03-14 16:24:04 +01:00 committed by GitHub
commit 8c5e2d68e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ import { getExtensionSettingsAsync, Keys, SingleValueAtATime, Values, YtUrlResol
import { LbryPathnameCache } from "./urlCache"
// const LBRY_API_HOST = 'https://api.odysee.com'; MOVED TO SETTINGS
const QUERY_CHUNK_SIZE = 300
const QUERY_CHUNK_SIZE = 100
export interface YtIdResolverDescriptor {
id: string
@ -102,4 +102,4 @@ export async function resolveById(descriptors: YtIdResolverDescriptor[], progres
}))
if (progressCallback) progressCallback(1)
return results
}
}