Skip to content

Commit

Permalink
Merge pull request #42 from Kanti/bugfix/duration-in-string
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti authored Mar 7, 2024
2 parents 8b8d5a2 + 82898f3 commit 55e2eca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Classes/Utility/TimingUtility.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function shutdown(ScriptResult $result): ?ResponseInterface
foreach ($stopWatches as $index => $time) {
$duration = $time->getDuration();
if ($duration >= $maxNumberOfTimings) {
$timings[] = $this->timingString($index, trim($time->key . ' ' . $time->info . ' ' . $duration), $duration);
$timings[] = $this->timingString($index, trim($time->key . ' ' . $time->info), $duration);
}
}

Expand Down
4 changes: 2 additions & 2 deletions ext_conf_template.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ sentry_sample_rate =
sentry_cli_sample_rate =

# cat=sentry; type=integer; label=Number of timings (reduce to make header output smaller. Try out when you get regularly 502 responses).
number_of_timings = 30
number_of_timings = 20

# cat=sentry; type=integer; label=Length of description (reduce to make header output smaller. Try out when you get regularly 502 responses).
length_of_description = 100
length_of_description = 60

0 comments on commit 55e2eca

Please sign in to comment.