From 3146d04671f51f69ffec2a4207ac3bdcf13a9f35 Mon Sep 17 00:00:00 2001 From: angeljqv <79208641+angeljqv@users.noreply.github.com> Date: Tue, 22 Jul 2025 09:01:30 -0500 Subject: [PATCH] Fix #790 - Slow threshold highlight on queries (#792) --- src/DebugBar/DataCollector/PDO/PDOCollector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DebugBar/DataCollector/PDO/PDOCollector.php b/src/DebugBar/DataCollector/PDO/PDOCollector.php index 2fbbce2..dede553 100644 --- a/src/DebugBar/DataCollector/PDO/PDOCollector.php +++ b/src/DebugBar/DataCollector/PDO/PDOCollector.php @@ -64,7 +64,7 @@ class PDOCollector extends DataCollector implements Renderable, AssetProvider */ public function setSlowThreshold($threshold) { - $this->slowThreshold = $threshold; + $this->slowThreshold = $threshold / 1000; } /**