Skip to content

处理日志中的Mysql error日志 #306

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

cnnvito
Copy link

@cnnvito cnnvito commented Feb 21, 2025

  1. 添加mysql最大连接设置
  2. 处理过时的MySQL连接以防止无效的连接日志

@mritd
Copy link
Collaborator

mritd commented Mar 6, 2025

我看现在默认值是 20, 但是代码库中 defaultMaxIdleConns 是 2, 这个值我感觉可以适当放大一点, 但是 20 是不是有点太高了?

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