summaryrefslogtreecommitdiff
path: root/src/char/int_pet.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2017-05-31 02:28:06 +0200
committerHaru <haru@dotalux.com>2017-05-31 02:34:10 +0200
commit4b208e41d1d5cc995c2816e8f34c1ad8b0a7327d (patch)
tree5359f1cef645f89bfdd7d783b8e4d1176e192c5d /src/char/int_pet.h
parentb950a589e59e2bf074f67c75aaacf3f82424d4fe (diff)
downloadhercules-4b208e41d1d5cc995c2816e8f34c1ad8b0a7327d.tar.gz
hercules-4b208e41d1d5cc995c2816e8f34c1ad8b0a7327d.tar.bz2
hercules-4b208e41d1d5cc995c2816e8f34c1ad8b0a7327d.tar.xz
hercules-4b208e41d1d5cc995c2816e8f34c1ad8b0a7327d.zip
Fix a race condition when saving the storage on logout
The storage data is no longer cached in the char server. This removal doesn't cause any performance loss, since the cached data was refreshed (loaded from the database) after every save operation. This commit moves the load at the beginning of the save rather than at the end, and discars the cached copy after the save is completed. Related to #1754 Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/char/int_pet.h')
0 files changed, 0 insertions, 0 deletions