reportbooru: raise http timeout.
Fetching missed searches from Reportbooru sometimes failed because the 0.5 second HTTP timeout was too low.
This commit is contained in:
@@ -3,7 +3,7 @@ class ReportbooruService
|
||||
|
||||
def initialize(http: Danbooru::Http.new, reportbooru_server: Danbooru.config.reportbooru_server)
|
||||
@reportbooru_server = reportbooru_server
|
||||
@http = http.timeout(0.5)
|
||||
@http = http.timeout(1)
|
||||
end
|
||||
|
||||
def enabled?
|
||||
|
||||
Reference in New Issue
Block a user