Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(server): Use SWOOLE_BASE #119

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Conversation

leocavalcante
Copy link
Member

@leocavalcante leocavalcante commented Mar 26, 2024

Use SWOOLE_BASE as the default server mode right from the template.

It is Swoole's default since 5.0 and has been receiving a lot of enhances, especially related to memory,
https://github.com/swoole/swoole-src/releases?q=base&expanded=true

@leocavalcante leocavalcante added the enhancement New feature or request label Mar 26, 2024 — with GitHub Codespaces
@leocavalcante leocavalcante self-assigned this Mar 26, 2024
@huangdijia
Copy link
Member

I think it might be better to let the user choose when creating the project

@sy-records
Copy link
Member

When creating a project, users may not understand the difference between the two modes.

@leocavalcante
Copy link
Member Author

From a developer experience perspective, would be nice to start with defaults that adheres to most common use cases, them let people choose when they are in edge cases.

Less options for the user (in our case, the developers using Hyperf) is better.

@limingxinleo limingxinleo merged commit 4957bdd into master Mar 28, 2024
2 checks passed
@limingxinleo limingxinleo deleted the refactor/config/server branch March 28, 2024 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants