Skip to content

Commit

Permalink
Revert "Migrate to aiven"
Browse files Browse the repository at this point in the history
This reverts commit 55a2ce8.
  • Loading branch information
greg-finley committed Mar 25, 2024
1 parent 74ec329 commit 6b47de2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
3 changes: 1 addition & 2 deletions process_file/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@


mysql_connection = mysql.connector.connect(
host=mysql_config_dict["MYSQL_HOST"],
port=mysql_config_dict["MYSQL_PORT"],
unix_socket=mysql_config_dict["MYSQL_SOCKET"],
user=mysql_config_dict["MYSQL_USERNAME"],
passwd=mysql_config_dict["MYSQL_PASSWORD"],
database=mysql_config_dict["MYSQL_DATABASE"],
Expand Down
3 changes: 1 addition & 2 deletions queue_files/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
mysql_config = json.loads(os.environ["MYSQL_CONFIG"])

mysql_connection = mysql.connector.connect(
host=mysql_config["MYSQL_HOST"],
port=mysql_config["MYSQL_PORT"],
unix_socket=mysql_config["MYSQL_SOCKET"],
user=mysql_config["MYSQL_USERNAME"],
passwd=mysql_config["MYSQL_PASSWORD"],
database=mysql_config["MYSQL_DATABASE"],
Expand Down
3 changes: 1 addition & 2 deletions requeue_failed_files/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@
mysql_config = json.loads(os.environ["MYSQL_CONFIG"])

mysql_connection = mysql.connector.connect(
host=mysql_config["MYSQL_HOST"],
port=mysql_config["MYSQL_PORT"],
unix_socket=mysql_config["MYSQL_SOCKET"],
user=mysql_config["MYSQL_USERNAME"],
passwd=mysql_config["MYSQL_PASSWORD"],
database=mysql_config["MYSQL_DATABASE"],
Expand Down

0 comments on commit 6b47de2

Please sign in to comment.