Skip to content

Commit

Permalink
Adding --idle-threads as new default
Browse files Browse the repository at this point in the history
This will enable aux threads by default as per
#2638
  • Loading branch information
pondix committed Apr 30, 2020
1 parent 6270992 commit 0a3f97a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion etc/init.d/proxysql
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

OLDDATADIR="/var/run/proxysql"
DATADIR="/var/lib/proxysql"
OPTS="-c /etc/proxysql.cnf -D $DATADIR"
OPTS="--idle-threads -c /etc/proxysql.cnf -D $DATADIR"
PIDFILE="$DATADIR/proxysql.pid"
USER="proxysql"

Expand Down
2 changes: 1 addition & 1 deletion systemd/system/proxysql.service
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RuntimeDirectory=proxysql
#PermissionsStartOnly=true
#ExecStartPre=/usr/bin/mkdir -p /var/run/proxysql /var/run/proxysql
#ExecStartPre=/usr/bin/chown -R proxysql: /var/run/proxysql/
ExecStart=/usr/bin/proxysql -c /etc/proxysql.cnf
ExecStart=/usr/bin/proxysql --idle-threads -c /etc/proxysql.cnf
PIDFile=/var/lib/proxysql/proxysql.pid
#StandardError=null # all output is in stderr
SyslogIdentifier=proxysql
Expand Down

0 comments on commit 0a3f97a

Please sign in to comment.