mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
more fixes
This commit is contained in:
@@ -188,7 +188,7 @@ class Stats
|
||||
|
||||
$deploymentSize = $this->params['deployment.{scope}.storage.size'] ?? 0;
|
||||
$storageSize = $this->params['files.{scope}.storage.size'] ?? 0;
|
||||
if($deploymentSize + $storageSize) {
|
||||
if($deploymentSize + $storageSize > 0) {
|
||||
$this->statsd->count('project.{scope}.storage.size' . $tags, $deploymentSize + $storageSize);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user