diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2013-02-03 23:23:44 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2013-02-03 23:23:44 +0800 |
commit | 7a20f13a210f395b8276cb19583e0b302f4f6a1f (patch) | |
tree | 4a0dd554aa88f68f97f5d9f9676d23d1cfc9da15 /conf/inter-server.conf | |
parent | 7626b141f8e56b1739abce76f5a99cbbb2b4b159 (diff) | |
parent | 24d6aba263ff25724b8e6c9d6a228bba9fd6e756 (diff) | |
download | hercules-7a20f13a210f395b8276cb19583e0b302f4f6a1f.tar.gz hercules-7a20f13a210f395b8276cb19583e0b302f4f6a1f.tar.bz2 hercules-7a20f13a210f395b8276cb19583e0b302f4f6a1f.tar.xz hercules-7a20f13a210f395b8276cb19583e0b302f4f6a1f.zip |
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'conf/inter-server.conf')
-rw-r--r-- | conf/inter-server.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/conf/inter-server.conf b/conf/inter-server.conf index 70bf80e5c..523437007 100644 --- a/conf/inter-server.conf +++ b/conf/inter-server.conf @@ -56,6 +56,18 @@ log_db_db: ragnarok log_codepage: log_login_db: loginlog +// == MySQL Reconnect Settings +// =========================== +// - mysql_reconnect_type +// - 1: when mysql disconnects during runtime, the server tries to reconnect mysql_reconnect_count times and, +// -- if unsuccessful, the server is shut down +// - 2: when mysql disconnects during runtime it tries to reconnect indefinitely +mysql_reconnect_type:2 +// - mysql_reconnect_count +// - number of reconnect attempts the server should do when the database disconnects during runtime +// - only used when mysql_reconnect_type is 1 +mysql_reconnect_count:1 + // DO NOT CHANGE ANYTHING BEYOND THIS LINE UNLESS YOU KNOW YOUR DATABASE DAMN WELL // this is meant for people who KNOW their stuff, and for some reason want to change their // database layout. [CLOWNISIUS] |