1 parent bb07b20 commit eef9decCopy full SHA for eef9dec
1 file changed
src/CodeIndex/Database/DbDebug.cs
@@ -200,8 +200,6 @@ internal static SqliteDataReader ExecuteReader(SqliteCommand cmd)
200
var unprofiledReader = cmd.ExecuteReader();
201
executeStopwatch.Stop();
202
activity?.SetTag("db.elapsed_ms", executeStopwatch.Elapsed.TotalMilliseconds);
203
- if (threshold.HasValue && executeStopwatch.Elapsed.TotalMilliseconds >= threshold.Value)
204
- WriteSlowQueryToStderr(cmd, executeStopwatch.Elapsed.TotalMilliseconds, rowsRead: null);
205
if (threshold.HasValue)
206
{
207
var slowEntry = new QueryProfileEntry(cmd.CommandText ?? string.Empty, []);
0 commit comments