fix: increase twitter-handler timeout to 60 seconds

This commit is contained in:
Hongbo Wu
2023-06-22 21:16:55 +08:00
parent 6ed74c5b2f
commit 30b7c38e76

View File

@ -133,7 +133,7 @@ export class NitterHandler extends ContentHandler {
const tweets: Tweet[] = []
const option = {
timeout: 10000, // 10 seconds
timeout: 60000, // 60 seconds
}
const response = await axios.get(url, option)
const document = parseHTML(response.data).document