You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I made some tests by adding the following to the Record abstract model in SolidQueue. Note that it is important to use the synchronous versions to prevent an infinite loop that will create broadcasting jobs when scheduling a new job for example. I did not test but it may have a limited impact on performance.
Then, mission_control-jobs can use those broadcasts in the views to trigger a page refresh on change.
<%= turbo_stream_from job %>
or
<%= turbo_stream_from :solid_queue_jobs %>
I only tested this on jobs as a proof of concept but it may be possible to monitor queues, job executions, etc.
This is just food for thought, I absolutely do not know if that would be desirable, it may degrade the execution performance or trigger too much page refresh. Another simpler solution would be to implement a regular polling refresh.
Is this going to get support for updating the page live?
The text was updated successfully, but these errors were encountered: