Skip to content

Commit

Permalink
Merge pull request #99 from open-runtimes/feat-enlrage-usages-table
Browse files Browse the repository at this point in the history
feat: adjusting table size
  • Loading branch information
byawitz authored Aug 28, 2024
2 parents 06b671a + db2ab38 commit 1d43f8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/http.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
* Create a Swoole table of usage stats (separate for host and containers)
*/
$register->set('statsContainers', function () {
$table = new Table(1024);
$table = new Table(4096);

$table->column('usage', Table::TYPE_FLOAT, 8);
$table->create();
Expand All @@ -119,7 +119,7 @@
});

$register->set('statsHost', function () {
$table = new Table(1024);
$table = new Table(4096);

$table->column('usage', Table::TYPE_FLOAT, 8);
$table->create();
Expand Down

0 comments on commit 1d43f8a

Please sign in to comment.