Creat-qc

Results 3 issues of Creat-qc

我现在有两个服务,一个客户端一个服务器端,服务器端会保存客户端的session。我想要实现在服务器重启之后,客户端能够直接连上服务器端。目前我了解的是服务器关闭后,客户端不会关闭,会提示连接已经断开,但是之后cs的通讯中,服务器收不到客户端的请求。想问下前辈是为什么?

我在 服务器 端,在gate模块下定义了一个 HD_chat 的路由请求,g.GetServer().RegisterGO("HD_chat", g.FaceChat),为什么在 客户端 可以使用 topic为 gate/HD_chat/face 发送成功,request, err := w.Request("gate/HD_chat/face", []byte(str)), **原因感觉是路由匹配的机制,但是心里不能够确定**,查了一下MQTT的主题匹配,有一些匹配符可以起到这样的作用,但是mqant中没有显示出这一点,所以问下前辈

**Describe the bug** 2024-06-21 00:36:31,185 [ERROR] Traceback (most recent call last): File "/usr/local/lib/python3.9/site-packages/tortoise/models.py", line 730, in _init_from_db setattr(self, model_field, kwargs[key]) KeyError: 'tenant_id' During handling of the above exception, another exception...