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

fix: Login performance issue #167

Merged
merged 1 commit into from
Nov 14, 2024
Merged

Conversation

M1saka10010
Copy link
Collaborator

yii2 默认密码hash加密cost的值太高,导致加密缓慢,多用户同时登陆时系统卡慢,经过测试10个用户同时登录的工况共登录400个账号用时120s左右。将cost下调至10之后用时30s,和用户不存在(不需要加解密)的工况的用时在误差范围内。

@M1saka10010 M1saka10010 added this pull request to the merge queue Nov 14, 2024
Merged via the queue into scnu-socoding:master with commit 1d80387 Nov 14, 2024
12 checks passed
@notch1p
Copy link
Contributor

notch1p commented Nov 14, 2024 via email

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.

2 participants