Commit 9c329f5f authored by Brett Walker's avatar Brett Walker

Make deadline execedded msg slightly better

parent f17db538
...@@ -29,7 +29,7 @@ module Gitlab ...@@ -29,7 +29,7 @@ module Gitlab
return if Gitlab::Metrics::System.real_time < request_deadline return if Gitlab::Metrics::System.real_time < request_deadline
raise RequestDeadlineExceeded, raise RequestDeadlineExceeded,
"Request takes longer than #{max_request_duration_seconds}" "Request takes longer than #{max_request_duration_seconds} seconds"
end end
private private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment