reduce timeout to 20s

This commit is contained in:
Hongbo Wu 2023-06-23 11:36:30 +08:00
parent 1c62f17909
commit 4607754f58

View file

@ -142,7 +142,7 @@ export class NitterHandler extends ContentHandler {
try {
const tweets: Tweet[] = []
const option = {
timeout: 60000, // 60 seconds
timeout: 20000, // 20 seconds
}
let html: any
// use the first instance that works