http: increase default timeout to 10 seconds.
Three seconds was little tight and might have caused timeouts in source strategies sometimes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
module Danbooru
|
module Danbooru
|
||||||
class Http
|
class Http
|
||||||
DEFAULT_TIMEOUT = 3
|
DEFAULT_TIMEOUT = 10
|
||||||
MAX_REDIRECTS = 5
|
MAX_REDIRECTS = 5
|
||||||
|
|
||||||
attr_writer :cache, :http
|
attr_writer :cache, :http
|
||||||
|
|||||||
Reference in New Issue
Block a user