mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-07-19 01:24:19 +00:00
It is possible for the stats to be read before the `expressCreateServer` hook is called (in particular: when there is an error during startup), which is when the `socketio` variable is set. Check for non-null `socketio` before attempting to count the number of socket.io connections. |
||
|---|---|---|
| .. | ||
| APIHandler.js | ||
| ExportHandler.js | ||
| ImportHandler.js | ||
| PadMessageHandler.js | ||
| SocketIORouter.js | ||