Closed neovash23 closed 6 years ago
Check your process, i think you have duplicate of daemons. You have to delete all nodejs and php daemons and after run them again.
Thank you! it turns out that, a pm2 is running under root. and another one in a non-root account. weird that pm2 treat them as separate though.
Hi,
I have created a receiver from Client to Server connection. For some reason the
function handle()
is getting triggered twice, which is resulting duplicate messages when I save to a model.What am I doing wrong?
Socketio version: 2.0.4
socket.emit('connected',{message:'hey',userId:1});