increase timeout to 15s (#2958)
parent
35be8ec90e
commit
1c5a2232fc
|
@ -26,7 +26,7 @@ export interface LinkMeta {
|
||||||
export async function getLinkMeta(
|
export async function getLinkMeta(
|
||||||
agent: BskyAgent,
|
agent: BskyAgent,
|
||||||
url: string,
|
url: string,
|
||||||
timeout = 5e3,
|
timeout = 15e3,
|
||||||
): Promise<LinkMeta> {
|
): Promise<LinkMeta> {
|
||||||
if (isBskyAppUrl(url)) {
|
if (isBskyAppUrl(url)) {
|
||||||
return extractBskyMeta(agent, url)
|
return extractBskyMeta(agent, url)
|
||||||
|
|
Loading…
Reference in New Issue