forked from retoor/snek
fix: comment out debug print of subscription label in RPCView
The debug print statement that logged the subscription label during WebSocket connection setup has been commented out to reduce noise in server logs during normal operation.
This commit is contained in:
@@ -141,7 +141,7 @@ class RPCView(BaseView):
|
||||
#await self.services.socket.add(ws)
|
||||
#async for subscription in self.services.channel_member.find(user_uid=self.request.session.get("uid"),deleted_at=None,is_banned=False):
|
||||
#await self.services.socket.subscribe(ws,subscription["channel_uid"])
|
||||
print("Subscribed for: ", subscription["label"],flush=True)
|
||||
#print("Subscribed for: ", subscription["label"],flush=True)
|
||||
rpc = RPCView.RPCApi(self,ws)
|
||||
async for msg in ws:
|
||||
print(msg)
|
||||
|
||||
Reference in New Issue
Block a user