Commit Graph
16 Commits
Author SHA1 Message Date
Nay e3ae7ba498 Core/Config: Add SQLDriverQueryLogging to authserver.conf (disabled by default, just like worldserver) 2012-03-31 16:31:42 +01:00
Machiavelli 250bc09ded Core/Log: Also add DebugLogMask config to authserver. Only logical value as of right now is 64 2011-02-20 20:26:55 +01:00
Machiavelli f1a73e89b8 Merge
--HG--
branch : trunk
2010-12-13 16:13:32 +01:00
Machiavelli ea29d87dcc Backed out changeset: 8326a2411148
--HG--
branch : trunk
2010-12-13 09:18:49 +01:00
leak e226c4ac34 - Added Perl based conf merger script
- Removed LogSQL config option until reimplementation on code side
- A bit of cosmetics for .conf files

--HG--
branch : trunk
2010-12-06 00:24:45 +01:00
Machiavelli b845b9d0fd Core/DBLayer:
- Make time format of MaxPingTime consistent between authserver and worldserver. Note that the value is in minutes, update your config files accordingly if needed.
- Remove obsolete atomic uint32 and prevent concurrent calls to vector::size() in DatabaseWorkerPool

--HG--
branch : trunk
2010-12-05 16:48:47 +01:00
Machiavelli f5d6319d4d Core/DBLayer:
- Make the mysql connectionpool shared for async and syncrhonous connections.
- Allow configurable amount of connections for the pool
- Allow configurable amount of delaythreads
Note that delaythreads now only represent in-core threads. Whenever they execute a task they will pick a free connection from the pool instead of using their previously unique assigned connection.
The purpose of this design change is better distribution of SQL requests (no bottlenecks paired with idling) among available resources.
This also prevents a ¨memory waste¨ of preparing async prepared statements on synchronous connections (that were never called) - and vice versa. Now, connections aren´t explicitly async or synchronous, they serve both purposes.

Use at own risk, might cause instabilities.
Don´t forget to update your config files and clear your cmake cache.

--HG--
branch : trunk
2010-12-04 21:50:36 +01:00
click 03925d7324 * Remove CRLF from configfiles
--HG--
branch : trunk
2010-11-24 14:03:45 +01:00
click 5753be3271 Core/Configs: Use "oldstyle" configfile method - includes configfile cleanups and also restructuring it so every option is explained properly
Fix by leak. Closes issue 4913.

--HG--
branch : trunk
2010-11-24 13:48:00 +01:00
Machiavelli 175fece073 Core/Logging:
- Implement sLog.outSQLDriver that will log SQL driver related events (non-content related).
- Queries will now be logged into this file as well instead of normal log file (requires debug build).
- Don´t forget to update your authserver.conf and worldserver.conf
Core/build:
- Fix non-PCH build

--HG--
branch : trunk
2010-08-26 21:50:54 +02:00
Machiavelli ae97cfeae4 Remove a double placed line in authserver.conf.dist
--HG--
branch : trunk
2010-08-18 02:36:41 +02:00
Machiavelli 87218eadcd * HIGHLY EXPERIMENTAL - USE AT OWN RISK *
Database Layer:
- Implement connection pooling: Instead of 1 delay thread per database, you can configure between 1 and 32 worker threads that have a seperate thread in the core and have a seperate connection to the MySQL server (based on raczman/Albator´s database layer for Trinitycore3)
- Implement a configurable thread bundle for synchroneous requests from seperate core threads (see worldserver.conf.dist for more info)
- Every mapupdate thread now has its seperate MySQL connection to the world and characters database
- Drop inconsistent PExecuteLog function - query logging will be implemented CONSISTENTLY later
- Drop current prepared statement interface - this will be done *properly* later
- You´ll need to update your worldserver.conf and authserver.conf
- You´re recommended to make a backup of your databases before using this.
* HIGHLY EXPERIMENTAL - USE AT OWN RISK *
* HIGHLY EXPERIMENTAL - USE AT OWN RISK *
etc.

--HG--
branch : trunk
2010-08-18 02:25:52 +02:00
click 3296a944e7 Convert to using ACE for reading configurationfiles, and remove dependency on dotconfpp configuration library and related files
(patch by astellar - and a thankyou to vladimir for being a russian teddybear)

--HG--
branch : trunk
2010-07-29 01:22:45 +02:00
XTZGZoReX f5c1bbbd33 Fix naming in config files.
--HG--
branch : trunk
2010-07-23 22:01:19 +02:00
teacher 94f143ee46 Renamed "realmd" to "auth" in config files.
Renamed "character_database.sql" to "characters_database.sql". (yeah I know, you're gonna hate me, but I'm pedantic!)

--HG--
branch : trunk
2010-07-12 18:00:27 +02:00
Brian bdb4b2bf8f * Rename conf file / icon file / Window file properties
--HG--
branch : trunk
rename : src/server/authserver/trinityrealm.conf.dist => src/server/authserver/authserver.conf.dist
rename : src/server/authserver/TrinityRealm.ico => src/server/authserver/authserver.ico
rename : src/server/authserver/TrinityRealm.rc => src/server/authserver/authserver.rc
2010-06-09 07:48:29 -06:00