Skip to content

Commit

Permalink
Merge pull request #10 from open-runtimes/fix-usage-balancing
Browse files Browse the repository at this point in the history
Fix: usage balancing
  • Loading branch information
christyjacob4 authored Nov 21, 2022
2 parents a5a4417 + b61caaa commit 9a57177
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/http.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,7 @@ function logError(Throwable $error, string $action, ?Logger $logger, Utopia\Rout
}

$stateItem['runtimes'][$runtimeId]['status'] = 'pass';
$stateItem['runtimes'][$runtimeId]['usage'] = 0;

$record['state'] = \json_encode($stateItem);

Expand Down

0 comments on commit 9a57177

Please sign in to comment.