Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问多进程之间的数据如何共享? #1699

Open
a596544022 opened this issue Mar 16, 2022 · 0 comments
Open

请问多进程之间的数据如何共享? #1699

a596544022 opened this issue Mar 16, 2022 · 0 comments

Comments

@a596544022
Copy link

我自己封装了一个net协议的物联网插件,使用extend方式引入,但是同时还需要向websocket发送数据,目前通过

this.ctx.app.websocket.io.to(data.stationcode).emit()

无法发送,好像是因为多进程数据不是共享的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant