Skip to content

Commit

Permalink
Added subprotocol spec and added openswoole extension as requirement.
Browse files Browse the repository at this point in the history
  • Loading branch information
lotharthesavior committed Dec 31, 2023
1 parent 8c17768 commit 4de8010
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 1 addition & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"license": "MIT",
"require": {
"php": "^8.2",
"ext-openswoole": "^22.1",
"league/pipeline": "^1.0",
"illuminate/database": "^10.22",
"symfony/workflow": "^7.0",
Expand Down Expand Up @@ -34,9 +35,6 @@
"vendor/bin/phpunit --testsuite All"
]
},
"suggest": {
"ext-openswoole": "This package requires at least one of Open Swoole or Swoole"
},
"config": {
"allow-plugins": {
"phpro/grumphp": true
Expand Down
5 changes: 3 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/ConveyorServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ private function initializeServer(): void
'worker_num' => 5,
'heartbeat_idle_time' => 10,
'heartbeat_check_interval' => 10,
'websocket_subprotocol' => 'socketconveyor.com',
], $this->serverOptions));
}

Expand Down

0 comments on commit 4de8010

Please sign in to comment.