We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 290a7b2 + b63c280 commit 8dfdfcbCopy full SHA for 8dfdfcb
1 file changed
src/Appwrite/Platform/Workers/StatsUsage.php
@@ -428,7 +428,7 @@ public function commitToDb(callable $getProjectDB): void
428
/**
429
* Sort by unique index key reduce locks/deadlocks
430
*/
431
- usort($projectStats['stats'], function ($a, $b) {
+ usort($projectStats['stats'], function ($a, $b) use ($sequence) {
432
// Metric DESC
433
$cmp = strcmp($b['metric'], $a['metric']);
434
if ($cmp !== 0) {
0 commit comments