Added back periodic user count updates that got replaced in r11703, but are neccessary as the current method doesn't work correctly (bugreport:688)
git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12090 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
19df0af514
commit
69c404c184
@ -1448,5 +1448,8 @@ int do_init_chrif(void)
|
|||||||
// wipe stale data for timed-out client connection requests
|
// wipe stale data for timed-out client connection requests
|
||||||
add_timer_interval(gettick() + 1000, auth_db_cleanup, 0, 0, 30 * 1000);
|
add_timer_interval(gettick() + 1000, auth_db_cleanup, 0, 0, 30 * 1000);
|
||||||
|
|
||||||
|
// send the user count every 10 seconds, to hide the charserver's online counting problem
|
||||||
|
add_timer_interval(gettick() + 1000, send_usercount_tochar, 0, 0, UPDATE_INTERVAL);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user