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:
evazion
2020-06-18 00:56:42 -05:00
parent fd6ba473a5
commit f790a1aeed

View File

@@ -1,6 +1,6 @@
module Danbooru
class Http
DEFAULT_TIMEOUT = 3
DEFAULT_TIMEOUT = 10
MAX_REDIRECTS = 5
attr_writer :cache, :http