* fix: gently log the port on which the realtime service listens
without this, the service remains completely silent (e.g. in overmind) and it is hard to tell if it is even running
* Revert "fix: gently log the port on which the realtime service listens"
This reverts commit 14a21989c6767520d8e1b9d46cc9f58a45768563.
* refactor(socketio): explicitly listen on port
---------
Co-authored-by: Ankush Menat <ankush@frappe.io>
Establishing 1 connection for every website visit is too much.
Only after calling frappe.realtime.on(...) for ANY event, we will
establish a websocket connection.
This is used for handful of things:
- Discussion component
- File upload
Socketio was initially added here: https://github.com/frappe/frappe/pull/6866 this use case no longer exists.
Rarely anywhere website uses realtime.