Skip to content

Commit

Permalink
proxy: increase db connection pool size of proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
RTUnreal committed Jul 16, 2024
1 parent 31e7d4f commit bb97286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/proxy/lib/proxy/application.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ defmodule Proxy.Application do
{Task, fn -> Proxy.accept(port) end},
Proxy.Scheduler,
{Proxy.UserCache, name: Proxy.UserCache},
{MyXQL, username: "proxy", hostname: "db", database: "pod", name: :myxql}
{MyXQL, username: "proxy", hostname: "db", database: "pod", name: :myxql, pool_size: 8}
]

opts = [strategy: :one_for_one, name: Proxy.Supervisor]
Expand Down

0 comments on commit bb97286

Please sign in to comment.