diff --git a/src/Appwrite/Platform/Modules/Health/Http/Health/Cache/Get.php b/src/Appwrite/Platform/Modules/Health/Http/Health/Cache/Get.php index 572d449f20..005846b5f7 100644 --- a/src/Appwrite/Platform/Modules/Health/Http/Health/Cache/Get.php +++ b/src/Appwrite/Platform/Modules/Health/Http/Health/Cache/Get.php @@ -71,7 +71,7 @@ class Get extends Action $output[] = new Document([ 'name' => $key . " ($cache)", 'status' => 'pass', - 'ping' => \round((\microtime(true) - $checkStart) / 1000), + 'ping' => \round((\microtime(true) - $checkStart) * 1000), ]); } else { $failures[] = $cache; diff --git a/src/Appwrite/Platform/Modules/Health/Http/Health/DB/Get.php b/src/Appwrite/Platform/Modules/Health/Http/Health/DB/Get.php index dfd83b0273..abfd68d945 100644 --- a/src/Appwrite/Platform/Modules/Health/Http/Health/DB/Get.php +++ b/src/Appwrite/Platform/Modules/Health/Http/Health/DB/Get.php @@ -72,7 +72,7 @@ class Get extends Action $output[] = new Document([ 'name' => $key . " ($database)", 'status' => 'pass', - 'ping' => \round((\microtime(true) - $checkStart) / 1000), + 'ping' => \round((\microtime(true) - $checkStart) * 1000), ]); } else { $failures[] = $database; diff --git a/src/Appwrite/Platform/Modules/Health/Http/Health/PubSub/Get.php b/src/Appwrite/Platform/Modules/Health/Http/Health/PubSub/Get.php index c71a30bf53..202f75d7c7 100644 --- a/src/Appwrite/Platform/Modules/Health/Http/Health/PubSub/Get.php +++ b/src/Appwrite/Platform/Modules/Health/Http/Health/PubSub/Get.php @@ -71,7 +71,7 @@ class Get extends Action $output[] = new Document([ 'name' => $key . " ($pubsub)", 'status' => 'pass', - 'ping' => \round((\microtime(true) - $checkStart) / 1000), + 'ping' => \round((\microtime(true) - $checkStart) * 1000), ]); } else { $failures[] = $pubsub; diff --git a/src/Appwrite/Platform/Modules/Health/Http/Health/Storage/Get.php b/src/Appwrite/Platform/Modules/Health/Http/Health/Storage/Get.php index 975f8846c0..2787428a20 100644 --- a/src/Appwrite/Platform/Modules/Health/Http/Health/Storage/Get.php +++ b/src/Appwrite/Platform/Modules/Health/Http/Health/Storage/Get.php @@ -76,7 +76,7 @@ class Get extends Action $response->dynamic(new Document([ 'status' => 'pass', - 'ping' => \round((\microtime(true) - $checkStart) / 1000), + 'ping' => \round((\microtime(true) - $checkStart) * 1000), ]), Response::MODEL_HEALTH_STATUS); } } diff --git a/src/Appwrite/Platform/Modules/Health/Http/Health/Storage/Local/Get.php b/src/Appwrite/Platform/Modules/Health/Http/Health/Storage/Local/Get.php index 3a4fc47238..9e24d9f8ff 100644 --- a/src/Appwrite/Platform/Modules/Health/Http/Health/Storage/Local/Get.php +++ b/src/Appwrite/Platform/Modules/Health/Http/Health/Storage/Local/Get.php @@ -73,7 +73,7 @@ class Get extends Action $response->dynamic(new Document([ 'status' => 'pass', - 'ping' => \round((\microtime(true) - $checkStart) / 1000), + 'ping' => \round((\microtime(true) - $checkStart) * 1000), ]), Response::MODEL_HEALTH_STATUS); } }