mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2025-12-20 11:20:03 +00:00
Tweak CNShared
* Separate pruning frequency from timeout * Pluralize CNShared map: login -> logins * Increase connection timeout to 15 minutes * Do not deallocate a nullptr in playerEnter() * Kill connections rejected by playerEnter() * Remove redundant inclusions of mutex headers in a few places
This commit is contained in:
@@ -10,7 +10,11 @@
|
||||
|
||||
#include "Player.hpp"
|
||||
|
||||
#define CNSHARED_TIMEOUT 30000
|
||||
/*
|
||||
* Connecions time out after 15 minutes, checked every 30 seconds.
|
||||
*/
|
||||
#define CNSHARED_TIMEOUT 900000
|
||||
#define CNSHARED_PERIOD 30000
|
||||
|
||||
struct LoginMetadata {
|
||||
uint64_t FEKey;
|
||||
|
||||
Reference in New Issue
Block a user