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

[pull] main from civitai:main #394

Merged
merged 8 commits into from
Mar 18, 2025
Prev Previous commit
Next Next commit
try increasing nodemailer connections
  • Loading branch information
flipperbw committed Mar 18, 2025
commit 87dc3c4debe16e46a1d2e950a48854dbf3d3046c
2 changes: 2 additions & 0 deletions src/server/email/client.ts
Original file line number Diff line number Diff line change
@@ -7,6 +7,8 @@ const shouldConnect =
const client = shouldConnect
? nodemailer.createTransport({
pool: true,
maxConnections: 30, // default 5
maxMessages: 600, // default 100
host: env.EMAIL_HOST,
port: env.EMAIL_PORT,
secure: env.EMAIL_SECURE,