Today I have made one fancy feature for NodeJs extension. Basically it's fail over for NodeJs extension. It works the following way
- If chat detects that he cannot connect to NodeJs it will fallback to standard ajax queries.
- If chat detects that he connected to NodeJs it will migrate to Websocket automatically by itself.
- Above scenario can happend during chat as many times as needed. You can just stop NodeJs and you will see that ajax queries will start appear. Once you run it again, ajax queries will be gone again.
- So basically you can have running NodeJs without afraid that it will stop working because LHC will work as working just with AJAX queries instead.
- This all work was inspired by this Github issue
This feature is already live in automated hosting and also you can find all changes on github.