i have a problem with sfs user disconnect event handler, can anyone help me..
why after user disconnect take so much time to fired handler event?
can i make it instant to fired disconnect handler event?
for information :
i make texas poker game, i use lisence 500 users sfs2x,
and when this happen, user connect to this zone 200++ users.
specs
------
os : windows server 2016 standard 64bit
proc : Intel® Xeon® Processor E5-2620 v2 15M Cache, 2.10 GHz
ram : 32
but i try this in testing server.. and only 1 user connect to this zone..
and the result is the event handler is call instant..
is there any solution?
thank you..
this is my log..
time : 09:55:27,100 -> user disconnect
[and i need to execute and use this user property..]
time : 09:55:27,698 -> call disconnect event handler.
14 May 2018 | 09:55:27,100 | INFO | qtp1801021153-4032 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 118879, Type: WEBSOCKET, Logged: Yes, IP: }
14 May 2018 | 09:55:27,100 | INFO | SFSWorker:Sys:1 | v2.api.SFSApi | | User disconnected: { Zone: }, ( User Name: DANIEL19, Id: 112791, Priv: 0, Sess: ) , SessionLen: 513332, Type: Netscape:5.0 (Linux; U; Android 5.1.1; en-US; Lenovo A2020a40 Build/LMY47V) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.108 UCBrowser/12.5.0.1109 Mobile Safari/537.36
[here have code need to used user property disconnect..]
14 May 2018 | 09:55:27,698 | INFO | SFSWorker:Ext:1 | Extensions | | {txh_game}: DANIEL19 call logout handler event..
testing server..
14 May 2018 | 17:00:17,025 | INFO | qtp1202042637-83 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 44, Type: WEBSOCKET, Logged: Yes, IP: }
14 May 2018 | 17:00:17,026 | INFO | SFSWorker:Sys:3 | v2.api.SFSApi | | User disconnected: { Zone: txh_game }, ( User Name: TESTX1, Id: 36, Priv: 0, Sess: ) , SessionLen: 4530, Type: Netscape:5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.139 Safari/537.36
14 May 2018 | 17:00:17,026 | INFO | SFSWorker:Ext:4 | Extensions | | {txh_game}: TESTX1 call logout handler event..