goworld icon indicating copy to clipboard operation
goworld copied to clipboard

为什么我在服务端游戏逻辑中开启多个GoRoutine时,dispatcher就断开连接了?

Open lyt1 opened this issue 4 years ago • 2 comments

lyt1 avatar Jun 08 '20 02:06 lyt1

warn dispatcherClientProxy<game1|127.0.0.1:52657> disconnected {"source": "dispatcherService", "ts": "2020-06-08T10:23:51.852+0800"} error DispatcherService<1>: game 1 is down: dispatcherClientProxy<game1|127.0.0.1:52657> {"source": "dispatcherService", "ts": "2020-06-08T10:23:51.852+0800"} info DispatcherService<1>: game1 is down, cleaning up... {"source": "dispatcherService", "ts": "2020-06-08T10:23:51.852+0800"} info DispatcherService<1>: game1 is down, 7 entities cleaned {"source": "dispatcherService", "ts": "2020-06-08T10:23:51.852+0800"} warn game 1 pending packet count = 1, blocked = false, clientProxy = {"source": "dispatcherService", "ts": "2020-06-08T10:23:51.852+0800"} 类似这样的错

lyt1 avatar Jun 08 '20 02:06 lyt1

image 作者貌似说这个是单线程的吧

LiuBaiSMD avatar Apr 26 '22 02:04 LiuBaiSMD