summaryrefslogtreecommitdiff
path: root/src/map/intif.c
diff options
context:
space:
mode:
authorMadCamel <madcamel@gmail.com>2010-02-04 19:24:51 -0500
committerMadCamel <madcamel@gmail.com>2010-02-04 19:24:51 -0500
commita1e685b80243abcce021cd81855d0fdeb36cd6c4 (patch)
tree8bb907a046b097cb5d81794f46d5646c1b05e35f /src/map/intif.c
parent12177093514cfc2cf41282b1cc95974a4c040c42 (diff)
downloadtmwa-a1e685b80243abcce021cd81855d0fdeb36cd6c4.tar.gz
tmwa-a1e685b80243abcce021cd81855d0fdeb36cd6c4.tar.bz2
tmwa-a1e685b80243abcce021cd81855d0fdeb36cd6c4.tar.xz
tmwa-a1e685b80243abcce021cd81855d0fdeb36cd6c4.zip
Write the accounts DB on a timer instead of player triggered events
Writing the DB is resource intensive and should be done as little as possible. Putting it on a timer is intended to prevent buggy/malicious clients from consuming large amounts of resources. This patch may cause minor inconsistancies between the login and character server databases, as they are both doing delayed writes, probably on different schedules. I'm unable to see any huge consequences to this.
Diffstat (limited to 'src/map/intif.c')
0 files changed, 0 insertions, 0 deletions