goworld
goworld copied to clipboard
为什么我在服务端游戏逻辑中开启多个GoRoutine时,dispatcher就断开连接了?
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 =
作者貌似说这个是单线程的吧