🍙 changed QUERY_CHUNK_SIZE

- odysee api started to give 520 response with the previous size
This commit is contained in:
Shiba 2022-03-14 18:10:53 +03:00 committed by GitHub
parent bd33aa833f
commit 222a71948b
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
}
}