redis: bump timeout settings.
This commit is contained in:
@@ -8,8 +8,8 @@ Rails.application.configure do
|
|||||||
url: Danbooru.config.redis_url,
|
url: Danbooru.config.redis_url,
|
||||||
namespace: nil,
|
namespace: nil,
|
||||||
connect_timeout: 30, # default: 20 seconds
|
connect_timeout: 30, # default: 20 seconds
|
||||||
write_timeout: 0.2, # default: 1 second
|
write_timeout: 0.5, # default: 1 second
|
||||||
read_timeout: 0.2, # default: 1 second
|
read_timeout: 0.5, # default: 1 second
|
||||||
reconnect_attempts: 0, # default: 0
|
reconnect_attempts: 0, # default: 0
|
||||||
error_handler: ->(method:, returning:, exception:) {
|
error_handler: ->(method:, returning:, exception:) {
|
||||||
DanbooruLogger.log(exception, method: method, returning: returning)
|
DanbooruLogger.log(exception, method: method, returning: returning)
|
||||||
|
|||||||
Reference in New Issue
Block a user