mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-08 17:09:20 +00:00
When the websocket server is unavailable the connection tries to reconnect too fast causing a high CPU usage. Adding a check for the connection status and sleeping when it is not yet connected after a re-connect attempt prevents the high CPU usage. Fixed the method signature in create_filter_chain_for to exactly match that of the parent to avoid potential PHP warnings or errors.