Increasing the timeout for bookfinder - some metadata providers heavily throttle the requests, original 10s is not enough.

This commit is contained in:
Tomasz N. 2025-10-31 15:36:47 +01:00
parent a5750deaaf
commit 372c9a5322
No known key found for this signature in database
GPG Key ID: 9C5B678AB73DA930

View File

@ -11,7 +11,7 @@ const { levenshteinDistance, levenshteinSimilarity, escapeRegExp, isValidASIN }
const htmlSanitizer = require('../utils/htmlSanitizer')
class BookFinder {
#providerResponseTimeout = 10000
#providerResponseTimeout = 120000
constructor() {
this.openLibrary = new OpenLibrary()