mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-11 15:22:50 +02:00
Increasing the timeout for bookfinder - some metadata providers heavily throttle the requests, original 10s is not enough.
This commit is contained in:
@@ -11,7 +11,7 @@ const { levenshteinDistance, levenshteinSimilarity, escapeRegExp, isValidASIN }
|
|||||||
const htmlSanitizer = require('../utils/htmlSanitizer')
|
const htmlSanitizer = require('../utils/htmlSanitizer')
|
||||||
|
|
||||||
class BookFinder {
|
class BookFinder {
|
||||||
#providerResponseTimeout = 10000
|
#providerResponseTimeout = 120000
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.openLibrary = new OpenLibrary()
|
this.openLibrary = new OpenLibrary()
|
||||||
|
|||||||
Reference in New Issue
Block a user