Raise statement timeout in development mode.
This commit is contained in:
@@ -574,7 +574,9 @@ class User < ApplicationRecord
|
|||||||
end
|
end
|
||||||
|
|
||||||
def statement_timeout
|
def statement_timeout
|
||||||
if is_platinum?
|
if Rails.env.development?
|
||||||
|
60_000
|
||||||
|
elsif is_platinum?
|
||||||
9_000
|
9_000
|
||||||
elsif is_gold?
|
elsif is_gold?
|
||||||
6_000
|
6_000
|
||||||
|
|||||||
Reference in New Issue
Block a user