From 429f365e91283ba7f8a31fc52635b56b8844e6eb Mon Sep 17 00:00:00 2001 From: Tanmoy Sarkar <57363826+tanmoysrt@users.noreply.github.com> Date: Fri, 29 Nov 2024 11:53:59 +0530 Subject: [PATCH] chore(proxysql): typo --- agent/proxysql.py | 2 +- agent/web.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/agent/proxysql.py b/agent/proxysql.py index d7bb8fc0..c03015ff 100644 --- a/agent/proxysql.py +++ b/agent/proxysql.py @@ -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) diff --git a/agent/web.py b/agent/web.py index e0e2eaa2..aa114633 100644 --- a/agent/web.py +++ b/agent/web.py @@ -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}