rafaucau 1Dot No no no. I'm doing this feature now and wondering how to approach it. I can do a refresh every so often, which will be easier, or with interaction which will be more difficult
1Dot rafaucau I can do a refresh every second so often Yes it will be great if it will be without interaction and works like a pro without adding 100% load on server ! rafaucau but that's easily fixed I am unable to see any PR
1Dot Update v99.5 Thanks to @rafaucau for contributing and making this extension a ultra pro! Major Bug Fixes. No Longer user Interaction Required. No heavy server load. Update composer update ramesh-dada/realtime php flarum cache:clear
rafaucau 1Dot Oops! I forgot to send the JS build in production mode. Type npm update in the /js folder (because I changed config) and then npm run build. BTW. you can configure the Flarum bot to automatically compile files in your repo https://github.com/flarum/action-build
1Dot Update v99.6 rafaucau Done I checked the new build and guess what it only uses 6% cpu i5 3rd gen!
rafaucau 1Dot I checked the new build and guess what it only uses 6% cpu i5 3rd gen! It would also be worthwhile to add the possibility to set in the admin panel how often posts should refresh. Then it will be possible to adjust the frequency of refreshing to the capabilities of the server and the traffic.
1Dot rafaucau Yes great I will try it today or tomorrow if I will be able to achieve then I will post an update and also I am trying to auto refresh discussion list on home page.
rafaucau 1Dot You have to accept manually. Resolve conflicts I will add the Flarum bot to the repo then it will be easier because you won't have to upload files from the dist folder
rafaucau rafaucau I will add the Flarum bot to the repo then it will be easier because you won't have to upload files from the dist folder check PR