Reduce provider timout to 10 secs, Shorten error message

This commit is contained in:
mikiher 2025-10-02 13:26:05 +03:00
parent 03da194953
commit a164c17d38
4 changed files with 9 additions and 9 deletions

View file

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