diff options
Diffstat (limited to 'lib/Service/RunningService.php')
-rw-r--r-- | lib/Service/RunningService.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Service/RunningService.php b/lib/Service/RunningService.php index 0527a63..a182f0b 100644 --- a/lib/Service/RunningService.php +++ b/lib/Service/RunningService.php @@ -238,18 +238,18 @@ class RunningService { $preAction = $tick->getAction(); if ($preAction !== '') { - $preActionTotal = $tick->getInfoInt($preAction . 'Total', 0); - $preActionStart = $tick->getInfoInt($preAction . 'Init', 0); + $preActionTotal = $tick->getInfoFloat($preAction . 'Total', 0); + $preActionStart = $tick->getInfoFloat($preAction . 'Init', 0); if ($preActionStart > 0) { $preActionTotal += ($now - $preActionStart); - $tick->setInfoInt($preAction . 'Total', $preActionTotal); + $tick->setInfoFloat($preAction . 'Total', $preActionTotal); $tick->unsetInfo($preAction . 'Init'); } } $tick->setAction($action) - ->setInfoInt($action . 'Init', $now); + ->setInfoFloat($action . 'Init', $now); } |