rubocop: fix various style issues.

This commit is contained in:
evazion
2019-12-22 16:21:58 -06:00
parent 09f6a84660
commit 309821bf73
288 changed files with 912 additions and 962 deletions

View File

@@ -7,11 +7,11 @@ Rails.application.configure do
{
url: Danbooru.config.redis_url,
namespace: nil,
connect_timeout: 30, # default: 20 seconds
write_timeout: 0.5, # default: 1 second
read_timeout: 0.5, # default: 1 second
connect_timeout: 30, # default: 20 seconds
write_timeout: 0.5, # default: 1 second
read_timeout: 0.5, # default: 1 second
reconnect_attempts: 0, # default: 0
error_handler: ->(method:, returning:, exception:) {
error_handler: lambda { |method:, returning:, exception:|
DanbooruLogger.log(exception, method: method, returning: returning)
}
}