Skip to content

Conversation

@basert
Copy link

@basert basert commented Apr 24, 2025

No description provided.

@basert basert force-pushed the PLA-2807 branch 4 times, most recently from 7f4570d to 7ddd9e1 Compare April 24, 2025 15:32
$workerId = $this->resolveWorkerId($server, $data);
$this->dispatchMap->set($fd, ['workerId' => $workerId]);
}
if ($type == self::CONNECTION_CLOSE) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if ($type == self::CONNECTION_CLOSE) {
if ($type === self::CONNECTION_CLOSE) {

if ($risky) {
// If risky request, only consider risky workers
for ($j = $riskyWorkers; $j < $totalWorkers; $j++) {
/** Reference https://openswoole.com/docs/modules/swoole-server-getWorkerStatus#description */
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i wouldn't reference openswoole, its an outdated fork and already quite behind 👍🏻

rather use https://wiki.swoole.com/en/#/

@basert basert closed this Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants