Fix #5241: Source extractors not using 60s timeout.
Raise the default HTTP timeout from 10 seconds to 20 seconds.
This commit is contained in:
@@ -34,7 +34,7 @@ module Danbooru
|
|||||||
class DownloadError < Error; end
|
class DownloadError < Error; end
|
||||||
class FileTooLargeError < Error; end
|
class FileTooLargeError < Error; end
|
||||||
|
|
||||||
DEFAULT_TIMEOUT = 10
|
DEFAULT_TIMEOUT = 20
|
||||||
MAX_REDIRECTS = 5
|
MAX_REDIRECTS = 5
|
||||||
|
|
||||||
attr_accessor :max_size, :http
|
attr_accessor :max_size, :http
|
||||||
|
|||||||
Reference in New Issue
Block a user