mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
reduce getTextNodesBetween timeout to 60 seconds
This commit is contained in:
parent
002e455bbd
commit
3fb7193fb5
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ type FillNodeResponse = {
|
|||
}
|
||||
|
||||
function getTextNodesBetween(rootNode: Node, startNode: Node, endNode: Node) {
|
||||
const maxTime = 1000 * 60 * 10 // 10 minutes
|
||||
const maxTime = 1000 * 60 // 60 seconds
|
||||
const start = Date.now()
|
||||
let textNodeStartingPoint = 0
|
||||
let articleText = ''
|
||||
|
|
|
|||
Loading…
Reference in a new issue