We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a226c71 + 33ef524 commit f6c7471Copy full SHA for f6c7471
2 files changed
src/commands/ApmDashboardCommand.php
@@ -74,11 +74,6 @@ public function execute()
74
$io->green("Running: $command", true);
75
76
// Execute the PHP server command
77
- // $shell = new Shell($command);
78
- // $shell->setOptions(getcwd());
79
- // $shell->execute();
80
- // echo $shell->getOutput();
81
- // echo $shell->getErrorOutput();
82
passthru($command);
83
}
84
src/commands/PurgeCommand.php
@@ -74,7 +74,7 @@ public function execute()
try {
// Delete old records from apm_requests
- $stmt = $db->prepare("DELETE FROM apm_requests WHERE timestamp < :cutoff_date");
+ $stmt = $db->prepare("DELETE FROM apm_requests WHERE request_dt < :cutoff_date");
$stmt->bindParam(':cutoff_date', $cutoffDate);
$stmt->execute();
0 commit comments