mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Storing seconds instead of milliseconds in new API log
This commit is contained in:
parent
790aaf354e
commit
997dd6976e
@ -370,7 +370,7 @@ final class database extends \mysqli {
|
||||
|
||||
$this->queries[] = [
|
||||
'query' => $query,
|
||||
'time' => (($stop - $start) * 1000)
|
||||
'time' => ($stop - $start)
|
||||
];
|
||||
|
||||
if($result === false) {
|
||||
|
@ -571,7 +571,7 @@ final class request {
|
||||
// a new shutdown handler and no output will be sent to the client. I just
|
||||
// have to handle all problems manually.
|
||||
try {
|
||||
$this->total_time = round((microtime(true) - $this->begin_timestamp) * 1000);
|
||||
$this->total_time = round((microtime(true) - $this->begin_timestamp));
|
||||
|
||||
// Fix the current working directory. See documentation on this class
|
||||
// variable for details.
|
||||
|
Loading…
x
Reference in New Issue
Block a user