Skip to content

Commit

Permalink
chore(proxysql): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Nov 29, 2024
1 parent 4f3cc90 commit 429f365
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion agent/proxysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def add_user_job(
username: str,
password: str,
database: str,
max_connections: int,
backend: dict,
max_connections: int = 4,
):
self.add_backend(backend)
self.add_user(username, password, database, max_connections, backend)
Expand Down
2 changes: 1 addition & 1 deletion agent/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -1036,8 +1036,8 @@ def proxysql_add_user():
data["username"],
data["password"],
data["database"],
data["max_connections"],
data["backend"],
max_connections=data["max_connections"],
)
return {"job": job}

Expand Down

0 comments on commit 429f365

Please sign in to comment.