mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 14:15:36 +08:00
FIX: exec_params needs instrumentation
the method no longer routes to "exec" or "async_exec" in latest PG so we need to explicitly intercept
This commit is contained in:
parent
7f361a546e
commit
955cdad649
@ -18,7 +18,7 @@ class Middleware::RequestTracker
|
||||
|
||||
unless @patched_instrumentation
|
||||
MethodProfiler.patch(PG::Connection, [
|
||||
:exec, :async_exec, :exec_prepared, :send_query_prepared, :query
|
||||
:exec, :async_exec, :exec_prepared, :send_query_prepared, :query, :exec_params
|
||||
], :sql)
|
||||
|
||||
MethodProfiler.patch(Redis::Client, [
|
||||
|
Loading…
x
Reference in New Issue
Block a user