Skip to content

Commit

Permalink
feat: reduced max threads
Browse files Browse the repository at this point in the history
  • Loading branch information
harshkhandeparkar committed Jan 2, 2025
1 parent cbc822a commit 1e73ae9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions mysql/mysqld.cnf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mysqld]
general_log=1
general_log=1
general_log_file = /var/lib/mysql/mysql.log

# Slow query settings:
Expand All @@ -10,4 +10,8 @@ long_query_time=5.0
# Error logging
log_error=/var/lib/mysql/mysql_error.log

innodb_temp_data_file_path=ibtmp1:12M:autoextend:max:5G
innodb_temp_data_file_path=ibtmp1:12M:autoextend:max:5G

# Processes limiting
max_connections=16
thread_cache_size=4

0 comments on commit 1e73ae9

Please sign in to comment.